gaoluyang
昨天 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
99
100
101
102
103
104
package cn.iocoder.yudao.module.mes.dal.dataobject.pro.process;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
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_pro_process")
@KeySequence("mes_pro_process_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesProProcessDO extends BaseDO {
 
    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 工序编码
     */
    private String code;
    /**
     * 工序名称
     */
    private String name;
    /**
     * 工艺要求
     */
    private String attention;
    /**
     * 计费类型
     *
     * 枚举 {@link cn.iocoder.yudao.module.mes.enums.pro.MesProProcessBillingTypeEnum}
     */
    private Integer billingType;
    /**
     * 工资定额
     *
     * 计时:元/小时;计件:元/件
     */
    private BigDecimal wageRate;
    /**
     * 辅助工时小时工资(元/小时)
     *
     * 辅助明细未单独配置单价时,按此单价计薪;计件工序必须配置才能计算辅助工资
     */
    private BigDecimal auxHourlyRate;
    /**
     * 标准工时计算方式
     *
     * 0-未启用 1-转速×节距 2-线速度直取 3-满速百分比×节距
     */
    private Integer stdTimeMode;
    /**
     * 标准工时折算系数
     *
     * 束丝按 1.8,其余工序按 1
     */
    private BigDecimal stdTimeFactor;
    /**
     * 机台满转速(r/min),方式 3 使用
     */
    private BigDecimal maxRpm;
    /**
     * 转速参数编码
     */
    private String stdRpmParamCode;
    /**
     * 节距参数编码
     */
    private String stdPitchParamCode;
    /**
     * 线速度(米/分)参数编码,方式 2 使用
     */
    private String stdSpeedParamCode;
    /**
     * 转速百分比参数编码,方式 3 使用
     */
    private String stdPercentParamCode;
    /**
     * 状态
     *
     * 枚举 {@link cn.iocoder.yudao.framework.common.enums.CommonStatusEnum}
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;
 
}