liyong
9 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
src/main/java/com/ruoyi/equipmentenergyconsumption/pojo/ElectricityConsumptionArea.java
@@ -2,14 +2,13 @@
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)
@@ -18,25 +17,33 @@
        /**
         * 区域名称
         */
        @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;
}