You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
2.1 KiB
100 lines
2.1 KiB
package com.spring.modules.part.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.spring.common.utils.QueryPage;
|
|
import lombok.Data;
|
|
import org.apache.ibatis.type.Alias;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
@Data
|
|
@TableName("plm_bom_header")
|
|
public class BomHeaderEntity extends QueryPage implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* 工厂
|
|
**/
|
|
private String site;
|
|
/**
|
|
* 物料编码
|
|
**/
|
|
private String partNo;
|
|
/**
|
|
* bom版本号
|
|
**/
|
|
private Integer engChgLevel;
|
|
/**
|
|
* 制造类型
|
|
**/
|
|
private String bomType;
|
|
/**
|
|
* 备注
|
|
**/
|
|
private String noteText;
|
|
/**
|
|
* 开始时间
|
|
**/
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
private Date effPhaseInDate;
|
|
/**
|
|
* 结束时间
|
|
**/
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
private Date effPhaseOutDate;
|
|
/**
|
|
* 工程版本号
|
|
**/
|
|
private String engRevision;
|
|
/**
|
|
*
|
|
**/
|
|
private String rowVersion;
|
|
/**
|
|
*
|
|
**/
|
|
private String rowKey;
|
|
/**
|
|
* 区分是BOM/配方
|
|
**/
|
|
private String typeFlag;
|
|
/**
|
|
* 净重
|
|
**/
|
|
private String netWeight;
|
|
/**
|
|
* 创建时间
|
|
**/
|
|
@TableField(fill = FieldFill.INSERT)
|
|
private Date createDate;
|
|
/**
|
|
* 创建人
|
|
**/
|
|
private String createBy;
|
|
/**
|
|
* 更新时间
|
|
**/
|
|
@TableField(fill = FieldFill.UPDATE)
|
|
private Date updateDate;
|
|
/**
|
|
* 更新人
|
|
**/
|
|
private String updateBy;
|
|
/**
|
|
* 数据集
|
|
*/
|
|
@TableField(exist = false)
|
|
private List<BomHeaderEntity> informationList;
|
|
/**
|
|
* 是否为正式物料
|
|
*/
|
|
private String officialFlag;
|
|
}
|