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 * *

过程检验单按工序带出该工序维护的自定义工资字段,由质检部门在检验时填写。 * 报工审批重算工资时优先取这里的值,未填写才回退工序上的固定值。 * * @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; }