gongchunyi
2026-04-16 18cfe1dfbe035089d1f132850004a74641f253b5
src/main/java/com/ruoyi/production/pojo/ProductProcess.java
@@ -1,9 +1,7 @@
package com.ruoyi.production.pojo;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -15,7 +13,6 @@
@TableName("product_process")
@Data
@ExcelIgnoreUnannotated
@ApiModel(value = "productProcess", description = "工序表")
public class ProductProcess implements Serializable {
@@ -24,34 +21,37 @@
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 产品规格ID
     */
    private Long productModelId;
    /**
     * 工序名称
     */
    @Excel(name = "工序名称")
    private String name;
    /**
     * 工序编号
     */
    @Excel(name = "工序编号")
    private String no;
    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;
    /**
     * 工资定额
     */
    @Excel(name = "工资定额")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal salaryQuota;
    @ApiModelProperty("类型 区分是计时还是计件 0 计时 1计件")
    private Long type;
    @ApiModelProperty("类型1-加工,2-刮板冷芯制作、3-管路组对、4-罐体连接及调试,5-测试打压,6-其他")
    private Integer type;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建时间
@@ -75,8 +75,21 @@
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
    @ApiModelProperty(value ="是否质检")
    @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;
}