zhangherong
2025-05-16 725a6ed97f7501de1795fce78fbd42624b310015
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/entity/EamEquipmentLeanOut.java
@@ -1,14 +1,18 @@
package org.jeecg.modules.eam.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
@@ -30,25 +34,21 @@
    @ApiModelProperty(value = "主键")
   private String id;
   /**创建人*/
   @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
   private String createBy;
   /**创建时间*/
    @ApiModelProperty(value = "创建时间")
   private Date createTime;
   /**更新人*/
   @Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
   private String updateBy;
   /**更新时间*/
    @ApiModelProperty(value = "更新时间")
   private Date updateTime;
   /**删除标记*/
   @Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
   private Integer delFlag;
   /**设备ID*/
   @Excel(name = "设备ID", width = 15)
    @ApiModelProperty(value = "设备ID")
   private String equipmentId;
   /**单据号*/
@@ -56,32 +56,69 @@
    @ApiModelProperty(value = "单据号")
   private String code;
   /**借入部门*/
   @Excel(name = "借入部门", width = 15)
   @Excel(name = "借入部门", width = 15, dictTable = "mdc_production", dicText = "production_name", dicCode = "id")
    @ApiModelProperty(value = "借入部门")
   @Dict(dicCode = "mdc_production, production_name, id")
   private String leanDepartId;
   /**借入责任人*/
   @Excel(name = "借入责任人", width = 15)
    @ApiModelProperty(value = "借入责任人")
   @Dict(dicCode = "sys_user, realname, username")
   private String leanPerson;
   /**借用原因*/
   @ApiModelProperty(value = "借用原因")
   private String leanReason;
   /**借出状态*/
   @Excel(name = "借出状态", width = 15)
    @ApiModelProperty(value = "借出状态")
   @Dict(dicCode = "equipment_lean_out_status")
   private String leanStatus;
   /**借出开始时间*/
    @ApiModelProperty(value = "借出开始时间")
    @ApiModelProperty(value = "借出时间")
   @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
   @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private Date leanStartTime;
   /**借出归还时间*/
    @ApiModelProperty(value = "借出归还时间")
    @ApiModelProperty(value = "归还时间")
   @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
   @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private Date leanEndTime;
   /**审核人*/
   @Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
   @Dict(dicCode = "sys_user, realname, username")
   private String approvalUser;
   /**审核意见*/
   @Excel(name = "审核意见", width = 15)
   @ApiModelProperty(value = "审核意见")
   private String approvalComment;
   /**审核时间*/
    @ApiModelProperty(value = "审核时间")
   @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
   @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private Date approvalTime;
   /**确认人*/
   @Excel(name = "确认人", width = 15)
   @ApiModelProperty(value = "确认人")
   @Dict(dicCode = "sys_user, realname, username")
   private String confirmUser;
   /**确认意见*/
   @Excel(name = "确认意见", width = 15)
   @ApiModelProperty(value = "确认意见")
   private String confirmComment;
   /**确认时间*/
   @ApiModelProperty(value = "确认时间")
   @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
   @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   private Date confirmTime;
   /**备注*/
   @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
   private String remark;
   //列表展示
   @TableField(exist = false)
   private String equipmentCode;
   @TableField(exist = false)
   private String equipmentName;
}