package org.jeecg.modules.eam.vo; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.jeecg.common.aspect.annotation.Dict; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.system.base.entity.JeecgEntity; import org.jeecg.modules.eam.entity.ProjectMaintenanceOrderDetail; import org.jeecgframework.poi.excel.annotation.Excel; import org.jeecgframework.poi.excel.annotation.ExcelCollection; import org.springframework.format.annotation.DateTimeFormat; import java.util.List; /** * @Description: 项目性维修 * @Author: jeecg-boot * @Date: 2023-05-06 * @Version: V1.0 */ @Data @ApiModel(value="mom_eam_project_maintenance_orderPage对象", description="项目性维修") public class ProjectMaintenanceOrderPage extends JeecgEntity { /** * 单据号 */ @Excel(name = "计划单编号", width = 15) @ApiModelProperty(value = "单据号") private String num; /** * 单据号 */ @Excel(name = "计划名称", width = 15) @ApiModelProperty(value = "计划名称") private String name; /** * 审批状态(未提交-notSubmitted、待审批 pendingApproval、审批中-approvalProcess、已驳回-Rejected、已通过-Approved) */ @Excel(name = "审批状态", width = 15, dicCode = "audit_status") @Dict(dicCode = "audit_status") @ApiModelProperty(value = "审批状态") private String auditStatus; /** * 变更方式 * (封存-seal,启封-unseal,报废-scrap,处置-disposal) */ @Dict(dicCode = "change_method") @Excel(name = "变更方式", width = 15) @ApiModelProperty(value = "变更方式") private String changeMethod; /** * 计划开始时间 */ @ApiModelProperty(value = "计划开始时间") @Excel(name = "计划开始日期", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private java.util.Date planStartTime; /** * 计划结束时间 */ @ApiModelProperty(value = "计划结束时间") @Excel(name = "计划结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private java.util.Date planEndTime; /** * 实际开始时间 */ @ApiModelProperty(value = "实际开始时间") @Excel(name = "实际开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private java.util.Date actualStartTime; /** * 实际完成时间 */ @ApiModelProperty(value = "实际完成时间") @Excel(name = "实际完成时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private java.util.Date actualEndTime; /** * 企业id */ @Excel(name = "企业id", width = 15) @ApiModelProperty(value = "企业id") private String enterpriseId; /** * 租户id */ @Excel(name = "租户id", width = 15) @ApiModelProperty(value = "租户id") private String tenantId; /** * 删除状态(0-正常,1-已删除) */ @Excel(name = "删除状态(0-正常,1-已删除)", width = 15) @ApiModelProperty(value = "删除状态(0-正常,1-已删除)") private Integer delFlag = CommonConstant.DEL_FLAG_0; /** * 状态 0 禁用 1 启用 */ @Excel(name = "状态 0 禁用 1 启用", width = 15) @ApiModelProperty(value = "状态 0 禁用 1 启用") private String status = CommonConstant.STATUS_1; /** * 备用字段1 */ @Excel(name = "备用字段1", width = 15) @ApiModelProperty(value = "备用字段1") private String uda1; /** * 备用字段2 */ @Excel(name = "备用字段2", width = 15) @ApiModelProperty(value = "备用字段2") private String uda2; /** * 备用字段3 */ @Excel(name = "备用字段3", width = 15) @ApiModelProperty(value = "备用字段3") private String uda3; /** * 备用字段4 */ @Excel(name = "备用字段4", width = 15) @ApiModelProperty(value = "备用字段4") private String uda4; /** * 备用字段5 */ @Excel(name = "备用字段5", width = 15) @ApiModelProperty(value = "备用字段5") private String uda5; /** * 备注 */ @Excel(name = "备注", width = 15) @ApiModelProperty(value = "备注") private String remark; /** * 附件 */ @Excel(name = "附件", width = 15) @ApiModelProperty(value = "附件") private String annex; @ExcelCollection(name="项目性维修明细") @ApiModelProperty(value = "项目性维修明细") private List projectMaintenanceOrderDetailList; @TableField(exist = false) @ApiModelProperty(value = "主键ids") private String ids; }