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;
|
|
}
|