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
package cn.iocoder.yudao.module.mes.dal.dataobject.pro.wage;
 
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;
import java.time.LocalDate;
 
/**
 * MES 工序工资单价规则 DO
 *
 * <p>按「工序 + 工艺路线 + 设备」维度覆盖工序默认工资定额。
 * 匹配优先级:工序+路线+设备 &gt; 工序+路线 &gt; 工序+设备 &gt; 工序默认。
 *
 * @author 超级管理员
 */
@TableName("mes_pro_process_wage_rule")
@KeySequence("mes_pro_process_wage_rule_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MesProProcessWageRuleDO extends BaseDO {
 
    @TableId
    private Long id;
    /**
     * 工序编号
     */
    private Long processId;
    /**
     * 工艺路线编号,空=不限路线
     */
    private Long routeId;
    /**
     * 设备编号,空=不限设备
     */
    private Long machineryId;
    /**
     * 计费类型:1-计时 2-计件
     */
    private Integer billingType;
    /**
     * 工资单价:计时=元/小时,计件=元/件
     */
    private BigDecimal wageRate;
    /**
     * 生效开始日期,空=不限
     */
    private LocalDate effectiveFrom;
    /**
     * 生效结束日期,空=不限
     */
    private LocalDate effectiveTo;
    /**
     * 优先级,越大越优先
     */
    private Integer priority;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;
 
}