package cn.iocoder.yudao.module.mes.dal.dataobject.pro.maintenancecalendar;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.time.LocalDate;
|
|
/**
|
* MES 电力运维日历 DO
|
*
|
* @author xiaoyi
|
*/
|
@TableName("mes_pro_maintenance_calendar")
|
@KeySequence("mes_pro_maintenance_calendar_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class MesProMaintenanceCalendarDO extends BaseDO {
|
|
/**
|
* 编号
|
*/
|
@TableId
|
private Long id;
|
|
/**
|
* 日历编码
|
*/
|
private String code;
|
|
/**
|
* 日历名称
|
*/
|
private String name;
|
|
/**
|
* 作业日期
|
*/
|
private LocalDate workDate;
|
|
/**
|
* 班次(字典 {@link DictTypeConstants#MES_CAL_SHIFT_TYPE})
|
*/
|
private Integer shift;
|
|
/**
|
* 作业类型(字典 {@link DictTypeConstants#MES_PRO_CALENDAR_WORK_TYPE})
|
*/
|
private Integer workType;
|
|
/**
|
* 作业区域/线路
|
*/
|
private String region;
|
|
/**
|
* 值班班组编号
|
*/
|
private Long teamId;
|
|
/**
|
* 值班班组名称
|
*/
|
private String teamName;
|
|
/**
|
* 值班人员
|
*/
|
private String personnel;
|
|
/**
|
* 状态
|
*
|
* 0: 草稿
|
* 10: 已发布
|
*/
|
private Integer status;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|