package org.jeecg.modules.tms.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 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; import java.util.List; /** * @Description: 损耗单 * @Author: jeecg-boot * @Date: 2025-05-21 * @Version: V1.0 */ @ApiModel(value = "tms_loss_bound对象", description = "损耗单") @Data @TableName("tms_loss_bound") public class ToolsLossBound implements Serializable { private static final long serialVersionUID = 1L; /** * 主键 */ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /** * losser */ @Excel(name = "报损人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id") @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id") @ApiModelProperty(value = "losser") private String losser; /** * 报损单号 */ @Excel(name = "orderCode", width = 15) @ApiModelProperty(value = "orderCode") private String orderCode; /** * 经手人 */ @Excel(name = "经手人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id") @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id") @ApiModelProperty(value = "经手人") private String handler; /** * 报损时间 */ @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "报损时间") private java.util.Date lossTime; /** * 审核人 */ @Excel(name = "审核人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id") @ApiModelProperty(value = "reviewer") @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id") private String reviewer; /** * 审核时间 */ @Excel(name = "approvalDate", 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") @ApiModelProperty(value = "审核时间") private java.util.Date approvalDate; /** * 审核状态 */ @Excel(name = "orderStatus", width = 15) @ApiModelProperty(value = "orderStatus") @Dict(dicCode = "out_bill_status") private String orderStatus; /** * 审核意见 */ @Excel(name = "approvalOpinion", width = 15) @ApiModelProperty(value = "approvalOpinion") private String approvalOpinion; /** * 报损原因 */ @Excel(name = "lossReason", width = 15) @ApiModelProperty(value = "lossReason") private String lossReason; /** * 备注 */ @Excel(name = "remark", width = 15) @ApiModelProperty(value = "remark") private String remark; /** * 租户号 */ @Excel(name = "tenantId", width = 15) @ApiModelProperty(value = "tenantId") private String tenantId; /**创建人*/ @Excel(name = "createdBy", width = 15) @ApiModelProperty(value = "创建人") private String createBy; /** * 创建人 */ @Excel(name = "createTime", 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") @ApiModelProperty(value = "createTime") private Date createTime; /** * 更新人 */ @Excel(name = "updateBy", width = 15) @ApiModelProperty(value = "updateBy") private String updateBy; /** * 更新时间 */ @Excel(name = "updateTime", 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") @ApiModelProperty(value = "updateTime") private Date updateTime; @TableField(exist = false) private List toolsLossBoundDetailList; }