lyh
2025-03-17 cf7d913ff24fce658f72cb996d056ccdaf1b96e0
lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/WorkStep.java
@@ -1,13 +1,12 @@
package org.jeecg.modules.dnc.entity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.Api;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecg.common.aspect.annotation.Dict;
import java.io.Serializable;
import java.util.Date;
@@ -19,7 +18,7 @@
public class WorkStep implements Serializable {
    private static final long serialVersionUID = 1529244980533421687L;
    //工步id
    @TableField(value = "id")
    @TableId(value = "id")
    private String id;
    //产品id
    @TableField(value = "product_id")
@@ -30,6 +29,9 @@
    //零件id
    @TableField(value = "parts_id")
    private String partsId;
    //工艺规程id
    @TableField(value = "psv_id")
    private String psvId;
    //工序id
    @TableField(value = "process_id")
    private String processId;
@@ -60,20 +62,28 @@
    //工装名称
    @TableField(value = "assemble_name")
    private String assembleName;
    @JsonIgnore
    @TableField(value = "create_time", select = false, fill = FieldFill.INSERT)
    @TableField(value = "processing_equipment_model")
    private String processingEquipmentModel;
    @TableField(value = "processing_equipment_os")
    private String processingEquipmentOs;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    @JsonIgnore
    @TableField(value = "update_time", select = false, fill = FieldFill.UPDATE)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(value = "update_time", fill = FieldFill.INSERT)
    private Date updateTime;
    @JsonIgnore
    @TableField(value = "create_user", select = false, fill = FieldFill.INSERT)
    private String createUser;
    @JsonIgnore
    @TableField(value = "update_user", select = false, fill = FieldFill.UPDATE)
    private String updateUser;
    @TableField(value = "create_by",fill = FieldFill.INSERT)
    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
    private String createBy;
    @TableField(value = "update_by", fill = FieldFill.UPDATE)
    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
    private String updateBy;
    @JsonIgnore
    @TableLogic
    @TableField(value = "delete_flag", select = false)
    private Integer deleteFlag = 0;
    //创建人
    private transient String createName;
    //更新人
    private transient String updateName;
}