New file |
| | |
| | | package com.dy.pipIrrGlobal.pojoSt; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | | /** |
| | | * @Author: liurunyu |
| | | * @Date: 2024/12/25 18:08 |
| | | * @Description |
| | | */ |
| | | |
| | | @TableName(value="st_consume_client_year", autoResultMap = true) |
| | | @Data |
| | | @Builder |
| | | @ToString |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @Schema(name = "农户消费年统计") |
| | | public class StConsumeClientYear implements BaseEntity { |
| | | |
| | | public static final long serialVersionUID = 202412261637001L; |
| | | |
| | | /** |
| | | * 主键 |
| | | */ |
| | | public Long id; |
| | | |
| | | /** |
| | | * 外键,指向农户 |
| | | */ |
| | | public Long clientId; |
| | | |
| | | /** |
| | | * 年度 |
| | | */ |
| | | public Integer year; |
| | | |
| | | /** |
| | | * 年消费统计 |
| | | */ |
| | | public Double amount; |
| | | |
| | | /** |
| | | * 年消费次数 |
| | | */ |
| | | public Integer times; |
| | | |
| | | } |