| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- package com.jeesite.modules.mes.entity;
- import java.util.Date;
- import javax.validation.constraints.Size;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.jeesite.common.entity.DataEntity;
- import com.jeesite.common.mybatis.annotation.Column;
- import com.jeesite.common.mybatis.annotation.Table;
- /**
- * 模具履历Entity
- * @author mes
- * @version 2026-06-27
- */
- @Table(name="mes_mold_resume", alias="a", label="模具履历信息", columns={
- @Column(name="id", attrName="id", label="id", isPK=true),
- @Column(name="mold_name", attrName="moldName", label="模具名称", isQuery=true),
- @Column(name="mold_code", attrName="moldCode", label="模具编号", isQuery=true),
- @Column(name="cavity_number", attrName="cavityNumber", label="模具穴数"),
- @Column(name="entry_date", attrName="entryDate", label="进厂日期", isQuery=true),
- @Column(name="manufacturer", attrName="manufacturer", label="制造厂家", isQuery=true),
- @Column(name="product_name", attrName="productName", label="产品名称", isQuery=true),
- @Column(name="product_drawing_no", attrName="productDrawingNo", label="产品图号"),
- @Column(name="design_life", attrName="designLife", label="设计寿命"),
- @Column(name="mold_size", attrName="moldSize", label="模具尺寸"),
- @Column(name="applicable_machine", attrName="applicableMachine", label="适用机台"),
- @Column(name="product_weight", attrName="productWeight", label="产品重量"),
- @Column(name="remarks", attrName="remarks", label="备注"),
- @Column(name="create_by", attrName="createBy", label="create_by", isUpdate=false, isQuery=false),
- @Column(name="create_date", attrName="createDate", label="create_date", isUpdate=false, isQuery=false, isUpdateForce=true),
- @Column(name="update_by", attrName="updateBy", label="update_by", isQuery=false),
- @Column(name="update_date", attrName="updateDate", label="update_date", isQuery=false, isUpdateForce=true),
- }, orderBy="a.update_date DESC"
- )
- public class MesMoldResume extends DataEntity<MesMoldResume> {
- private static final long serialVersionUID = 1L;
- private String moldName; // 模具名称
- private String moldCode; // 模具编号
- private Integer cavityNumber; // 模具穴数
- private Date entryDate; // 进厂日期
- private String manufacturer; // 制造厂家
- private String productName; // 产品名称
- private String productDrawingNo; // 产品图号
- private String designLife; // 设计寿命
- private String moldSize; // 模具尺寸
- private String applicableMachine; // 适用机台
- private String productWeight; // 产品重量
- public MesMoldResume() {
- this(null);
- }
- public MesMoldResume(String id){
- super(id);
- }
- @Size(min=0, max=255, message="模具名称长度不能超过 255 个字符")
- public String getMoldName() {
- return moldName;
- }
- public void setMoldName(String moldName) {
- this.moldName = moldName;
- }
- @Size(min=0, max=100, message="模具编号长度不能超过 100 个字符")
- public String getMoldCode() {
- return moldCode;
- }
- public void setMoldCode(String moldCode) {
- this.moldCode = moldCode;
- }
- public Integer getCavityNumber() {
- return cavityNumber;
- }
- public void setCavityNumber(Integer cavityNumber) {
- this.cavityNumber = cavityNumber;
- }
- @JsonFormat(pattern = "yyyy-MM-dd")
- public Date getEntryDate() {
- return entryDate;
- }
- public void setEntryDate(Date entryDate) {
- this.entryDate = entryDate;
- }
- @Size(min=0, max=255, message="制造厂家长度不能超过 255 个字符")
- public String getManufacturer() {
- return manufacturer;
- }
- public void setManufacturer(String manufacturer) {
- this.manufacturer = manufacturer;
- }
- @Size(min=0, max=255, message="产品名称长度不能超过 255 个字符")
- public String getProductName() {
- return productName;
- }
- public void setProductName(String productName) {
- this.productName = productName;
- }
- @Size(min=0, max=100, message="产品图号长度不能超过 100 个字符")
- public String getProductDrawingNo() {
- return productDrawingNo;
- }
- public void setProductDrawingNo(String productDrawingNo) {
- this.productDrawingNo = productDrawingNo;
- }
- @Size(min=0, max=100, message="设计寿命长度不能超过 100 个字符")
- public String getDesignLife() {
- return designLife;
- }
- public void setDesignLife(String designLife) {
- this.designLife = designLife;
- }
- @Size(min=0, max=255, message="模具尺寸长度不能超过 255 个字符")
- public String getMoldSize() {
- return moldSize;
- }
- public void setMoldSize(String moldSize) {
- this.moldSize = moldSize;
- }
- @Size(min=0, max=100, message="适用机台长度不能超过 100 个字符")
- public String getApplicableMachine() {
- return applicableMachine;
- }
- public void setApplicableMachine(String applicableMachine) {
- this.applicableMachine = applicableMachine;
- }
- @Size(min=0, max=100, message="产品重量长度不能超过 100 个字符")
- public String getProductWeight() {
- return productWeight;
- }
- public void setProductWeight(String productWeight) {
- this.productWeight = productWeight;
- }
- }
|