package cn.iocoder.yudao.module.mes.dal.dataobject.pro.maintenanceplan;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
|
import cn.iocoder.yudao.module.mes.enums.pro.MesProMaintenancePlanTypeEnum;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* MES 电力作业计划 DO
|
*
|
* @author xiaoyi
|
*/
|
@TableName("mes_pro_maintenance_plan")
|
@KeySequence("mes_pro_maintenance_plan_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class MesProMaintenancePlanDO extends BaseDO {
|
|
/**
|
* 编号
|
*/
|
@TableId
|
private Long id;
|
|
/**
|
* 计划编码
|
*/
|
private String code;
|
|
/**
|
* 计划名称
|
*/
|
private String name;
|
|
/**
|
* 计划类型
|
*
|
* 字典 {@link DictTypeConstants#MES_PRO_MAINTENANCE_PLAN_TYPE}
|
* 枚举 {@link MesProMaintenancePlanTypeEnum}
|
*/
|
private Integer planType;
|
|
/**
|
* 站点
|
*/
|
private String station;
|
|
/**
|
* 线路
|
*/
|
private String line;
|
|
/**
|
* 班组编号
|
*
|
* 关联 {@link cn.iocoder.yudao.module.mes.dal.dataobject.cal.team.MesCalTeamDO#getId()}
|
*/
|
private Long teamId;
|
|
/**
|
* 班组名称
|
*/
|
private String teamName;
|
|
/**
|
* 计划日期
|
*/
|
private LocalDateTime planDate;
|
|
/**
|
* 状态
|
*
|
* 0: 草稿
|
* 10: 已下发
|
* 20: 已完成
|
* 30: 已取消
|
*/
|
private Integer status;
|
|
/**
|
* 生成的工单编号
|
*
|
* 关联 {@link cn.iocoder.yudao.module.mes.dal.dataobject.pro.workorder.MesProWorkOrderDO#getId()}
|
*/
|
private Long workOrderId;
|
|
/**
|
* 生成的工单编码
|
*/
|
private String workOrderCode;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|