gaoluyang
4 天以前 8c65f898ed6e5b0c7a94c792c4562f6ec831dccd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package cn.iocoder.yudao.module.mes.dal.dataobject.qc.ipqc;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import cn.iocoder.yudao.module.mes.dal.dataobject.pro.wage.MesProProcessWageFieldDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
import java.math.BigDecimal;
 
/**
 * MES 过程检验单-工资字段值 DO
 *
 * <p>过程检验单按工序带出该工序维护的自定义工资字段,由质检部门在检验时填写。
 * 报工审批重算工资时优先取这里的值,未填写才回退工序上的固定值。
 *
 * @author 超级管理员
 */
@TableName("mes_qc_ipqc_wage_field")
@KeySequence("mes_qc_ipqc_wage_field_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesQcIpqcWageFieldDO extends BaseDO {
 
    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 过程检验单 ID
     *
     * 关联 {@link MesQcIpqcDO#getId()}
     */
    private Long ipqcId;
    /**
     * 工序工资字段 ID
     *
     * 关联 {@link MesProProcessWageFieldDO#getId()}
     */
    private Long fieldId;
    /**
     * 字段编码,冗余
     *
     * 冗余 {@link MesProProcessWageFieldDO#getFieldCode()}
     */
    private String fieldCode;
    /**
     * 字段名称,冗余
     *
     * 冗余 {@link MesProProcessWageFieldDO#getFieldName()}
     */
    private String fieldName;
    /**
     * 字段类型,冗余
     *
     * 冗余 {@link MesProProcessWageFieldDO#getFieldType()}
     */
    private Integer fieldType;
    /**
     * 单位,冗余
     *
     * 冗余 {@link MesProProcessWageFieldDO#getUnit()}
     */
    private String unit;
    /**
     * 计算角色,冗余
     *
     * 冗余 {@link MesProProcessWageFieldDO#getCalcRole()}
     */
    private Integer calcRole;
    /**
     * 计价数量单价,冗余
     *
     * 冗余 {@link MesProProcessWageFieldDO#getUnitPrice()}
     */
    private BigDecimal unitPrice;
    /**
     * 质检填写的字段值
     */
    private String value;
    /**
     * 排序,冗余
     *
     * 冗余 {@link MesProProcessWageFieldDO#getSort()}
     */
    private Integer sort;
    /**
     * 备注
     */
    private String remark;
 
}