| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | | |
| | | @Data |
| | | @TableName("electricity_consumption_area") |
| | | @ApiModel |
| | | @Schema |
| | | public class ElectricityConsumptionArea { |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | |
| | | /** |
| | | * 区域名称 |
| | | */ |
| | | @ApiModelProperty("区域名称") |
| | | @Excel(name = "区域名称") |
| | | @Schema(description = "区域名称") |
| | | private String areaName; |
| | | |
| | | /** |
| | | * 区域类型 |
| | | */ |
| | | @ApiModelProperty("区域类型") |
| | | @Excel(name = "区域类型") |
| | | @Schema(description = "区域类型") |
| | | private String areaType; |
| | | /** |
| | | * 排序 |
| | | */ |
| | | private Long sort; |
| | | |
| | | /** |
| | | * 父类id |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long fuId; |
| | | /** |
| | | * 租户id |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long tenantId; |
| | | @Schema(description = "创建用户") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer createUser; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | |
| | | } |