|
@@ -0,0 +1,381 @@
|
|
|
+package com.rongwei.bsentity.domain;
|
|
|
+
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.lang.reflect.Field;
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author cyn
|
|
|
+ * @create 2024-07-12 09:24
|
|
|
+ */
|
|
|
+
|
|
|
+@Data
|
|
|
+@AllArgsConstructor
|
|
|
+@NoArgsConstructor
|
|
|
+@TableName("equ_energy_meter_dosage_month")
|
|
|
+public class EquEnergyMeterDosageMonthDo {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:ID
|
|
|
+ * table type:varchar(36)
|
|
|
+ * table comment:主键ID
|
|
|
+ */
|
|
|
+ private String id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:TENANTID
|
|
|
+ * table type:text
|
|
|
+ * table comment:所属工厂ID
|
|
|
+ */
|
|
|
+ private String tenantid;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:ROPTION
|
|
|
+ * table type:text
|
|
|
+ * table comment:扩展json格式配置
|
|
|
+ */
|
|
|
+ private String roption;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DELETED
|
|
|
+ * table type:varchar(1)
|
|
|
+ * table comment:是否删除Y/N
|
|
|
+ */
|
|
|
+ private String deleted;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:REMARK
|
|
|
+ * table type:text
|
|
|
+ * table comment:备注
|
|
|
+ */
|
|
|
+ private String remark;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:CREATEDATE
|
|
|
+ * table type:datetime
|
|
|
+ * table comment:创建时间
|
|
|
+ */
|
|
|
+ private Date createdate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:CREATEUSERID
|
|
|
+ * table type:varchar(36)
|
|
|
+ * table comment:创建用户ID
|
|
|
+ */
|
|
|
+ private String createuserid;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:MODIFYDATE
|
|
|
+ * table type:datetime
|
|
|
+ * table comment:修改时间
|
|
|
+ */
|
|
|
+ private Date modifydate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:MODIFYUSERID
|
|
|
+ * table type:varchar(36)
|
|
|
+ * table comment:修改用户ID
|
|
|
+ */
|
|
|
+ private String modifyuserid;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:CREATEUSERNAME
|
|
|
+ * table type:varchar(20)
|
|
|
+ * table comment:创建人
|
|
|
+ */
|
|
|
+ private String createusername;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:MODIFYUSERNAME
|
|
|
+ * table type:varchar(20)
|
|
|
+ * table comment:修改人
|
|
|
+ */
|
|
|
+ private String modifyusername;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:PROCESSINSTID
|
|
|
+ * table type:varchar(50)
|
|
|
+ * table comment:流程ID
|
|
|
+ */
|
|
|
+ private String processinstid;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:ENERGYTYPE
|
|
|
+ * table type:varchar(50)
|
|
|
+ * table comment:分类
|
|
|
+ */
|
|
|
+ private String energytype;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:METERID
|
|
|
+ * table type:varchar(255)
|
|
|
+ * table comment:表具ID
|
|
|
+ */
|
|
|
+ private String meterid;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:METERCODE
|
|
|
+ * table type:varchar(255)
|
|
|
+ * table comment:表具编号
|
|
|
+ */
|
|
|
+ private String metercode;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:METERNAME
|
|
|
+ * table type:varchar(255)
|
|
|
+ * table comment:表具名称
|
|
|
+ */
|
|
|
+ private String metername;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:OWNEDFACTORY
|
|
|
+ * table type:varchar(255)
|
|
|
+ * table comment:所属工厂名称
|
|
|
+ */
|
|
|
+ private String ownedfactory;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:CENTERYEAR
|
|
|
+ * table type:varchar(20)
|
|
|
+ * table comment:年
|
|
|
+ */
|
|
|
+ private String centeryear;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:CENTERMONTH
|
|
|
+ * table type:varchar(20)
|
|
|
+ * table comment:月
|
|
|
+ */
|
|
|
+ private String centermonth;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY1
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:1
|
|
|
+ */
|
|
|
+ private BigDecimal day1;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY2
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:2
|
|
|
+ */
|
|
|
+ private BigDecimal day2;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY3
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:3
|
|
|
+ */
|
|
|
+ private BigDecimal day3;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY4
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:4
|
|
|
+ */
|
|
|
+ private BigDecimal day4;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY5
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:5
|
|
|
+ */
|
|
|
+ private BigDecimal day5;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY6
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:6
|
|
|
+ */
|
|
|
+ private BigDecimal day6;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY7
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:7
|
|
|
+ */
|
|
|
+ private BigDecimal day7;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY8
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:8
|
|
|
+ */
|
|
|
+ private BigDecimal day8;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY9
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:9
|
|
|
+ */
|
|
|
+ private BigDecimal day9;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY10
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:10
|
|
|
+ */
|
|
|
+ private BigDecimal day10;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY11
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:11
|
|
|
+ */
|
|
|
+ private BigDecimal day11;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY12
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:12
|
|
|
+ */
|
|
|
+ private BigDecimal day12;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY13
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:13
|
|
|
+ */
|
|
|
+ private BigDecimal day13;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY14
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:14
|
|
|
+ */
|
|
|
+ private BigDecimal day14;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY15
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:15
|
|
|
+ */
|
|
|
+ private BigDecimal day15;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY16
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:16
|
|
|
+ */
|
|
|
+ private BigDecimal day16;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY17
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:17
|
|
|
+ */
|
|
|
+ private BigDecimal day17;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY18
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:18
|
|
|
+ */
|
|
|
+ private BigDecimal day18;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY19
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:19
|
|
|
+ */
|
|
|
+ private BigDecimal day19;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY20
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:20
|
|
|
+ */
|
|
|
+ private BigDecimal day20;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY21
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:21
|
|
|
+ */
|
|
|
+ private BigDecimal day21;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY22
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:22
|
|
|
+ */
|
|
|
+ private BigDecimal day22;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY23
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:23
|
|
|
+ */
|
|
|
+ private BigDecimal day23;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY24
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:24
|
|
|
+ */
|
|
|
+ private BigDecimal day24;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY25
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:25
|
|
|
+ */
|
|
|
+ private BigDecimal day25;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY26
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:26
|
|
|
+ */
|
|
|
+ private BigDecimal day26;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY27
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:27
|
|
|
+ */
|
|
|
+ private BigDecimal day27;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY28
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:28
|
|
|
+ */
|
|
|
+ private BigDecimal day28;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY29
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:29
|
|
|
+ */
|
|
|
+ private BigDecimal day29;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY30
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:30
|
|
|
+ */
|
|
|
+ private BigDecimal day30;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * table name:DAY31
|
|
|
+ * table type:decimal(20,6)
|
|
|
+ * table comment:31
|
|
|
+ */
|
|
|
+ private BigDecimal day31;
|
|
|
+
|
|
|
+
|
|
|
+ public void setDay(String fieldName, BigDecimal value) throws NoSuchFieldException, IllegalAccessException {
|
|
|
+ Field field = this.getClass().getDeclaredField(fieldName);
|
|
|
+ field.setAccessible(true); // 如果字段是私有的,则需要这一步
|
|
|
+ field.set(this, value);
|
|
|
+ }
|
|
|
+
|
|
|
+}
|