package com.ruoyi.production.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
@TableName("product_process")
|
@Data
|
@ApiModel(value = "productProcess", description = "工序表")
|
public class ProductProcess implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
|
/**
|
* 产品规格ID
|
*/
|
private Long productModelId;
|
|
/**
|
* 工序名称
|
*/
|
private String name;
|
|
/**
|
* 工序编号
|
*/
|
private String no;
|
|
|
/**
|
* 工资定额
|
*/
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
private BigDecimal salaryQuota;
|
|
|
@ApiModelProperty("类型1-加工,2-刮板冷芯制作、3-管路组对、4-罐体连接及调试,5-测试打压,6-其他")
|
private Integer type;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime createTime;
|
|
/**
|
* 修改时间
|
*/
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime updateTime;
|
|
/**
|
* 租户ID
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Long tenantId;
|
|
@ApiModelProperty(value = "是否质检")
|
private Boolean isQuality;
|
|
|
@ApiModelProperty(value = "创建用户")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
|
@ApiModelProperty("计划人员ID")
|
private Long plannerId;
|
|
@ApiModelProperty("计划人员姓名")
|
private String plannerName;
|
|
}
|