package com.yuanchu.mom.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.*;
|
import lombok.experimental.Accessors;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
import java.io.Serializable;
|
|
/**
|
* 生产订单表(ManufactureOrder)表实体类
|
*
|
* @author zss
|
* @since 2023-08-17 14:16:25
|
*/
|
@Data
|
@Accessors(chain = true)
|
@AllArgsConstructor
|
@NoArgsConstructor
|
@EqualsAndHashCode(callSuper = false)
|
@Builder
|
@TableName("manufacture_order")
|
public class ManufactureOrder implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
**/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 订单编号
|
**/
|
private String orderCode;
|
|
/**
|
* 合同编号(客户订单号)
|
**/
|
private String customerCode;
|
|
/**
|
* 客户名称
|
**/
|
private String proname;
|
|
/**
|
* 业务经理(业务员)
|
**/
|
private String saleman;
|
|
/**
|
* 产品名称
|
**/
|
private String name;
|
|
/**
|
* 规格型号
|
**/
|
private String specifications;
|
|
/**
|
* 单位
|
**/
|
private String unit;
|
|
/**
|
* 数量
|
**/
|
private Integer number;
|
|
/**
|
* 下单日期
|
**/
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date downtime;
|
|
/**
|
* 交货日期
|
**/
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date deltime;
|
|
/**
|
* 状态0:待排产;1:已排产
|
**/
|
private Integer type;
|
|
/**
|
* 质量追溯号
|
**/
|
private String qualityTraceability;
|
|
@ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
|
private Integer state;
|
|
@TableField(fill = FieldFill.INSERT)
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date createTime;
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date updateTime;
|
}
|