package com.jeesite.modules.mes.entity; import javax.validation.constraints.Size; import com.jeesite.common.entity.DataEntity; import com.jeesite.common.mybatis.annotation.Column; import com.jeesite.common.mybatis.annotation.Table; import com.jeesite.common.mybatis.mapper.query.QueryType; /** * 称重数据表Entity * @author sxl * @version 2026-09-28 */ @Table(name="mes_wuliao_cz", alias="a", label="称重数据表信息", columns={ @Column(name="id", attrName="id", label="id", isPK=true), @Column(name="lc", attrName="lc", label="炉次"), @Column(name="bc", attrName="bc", label="班次"), @Column(name="type", attrName="type", label="物料类型"), @Column(name="zl", attrName="zl", label="重量"), @Column(name="create_date", attrName="createDate", label="创建时间", isUpdate=false, isQuery=false, isUpdateForce=true), }, orderBy="a.id DESC" ) public class MesWuliaoCz extends DataEntity { private static final long serialVersionUID = 1L; private String lc; // 炉次 private String bc; // 班次 private String type; // 物料类型 private String zl; // 重量 public MesWuliaoCz() { this(null); } public MesWuliaoCz(String id){ super(id); } @Size(min=0, max=64, message="炉次长度不能超过 64 个字符") public String getLc() { return lc; } public void setLc(String lc) { this.lc = lc; } @Size(min=0, max=64, message="班次长度不能超过 64 个字符") public String getBc() { return bc; } public void setBc(String bc) { this.bc = bc; } @Size(min=0, max=64, message="物料类型长度不能超过 64 个字符") public String getType() { return type; } public void setType(String type) { this.type = type; } @Size(min=0, max=64, message="重量长度不能超过 64 个字符") public String getZl() { return zl; } public void setZl(String zl) { this.zl = zl; } }