package com.ruoyi.collaborativeApproval.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDateTime; @Data @TableName("seal_application_management") public class SealApplicationManagement { @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 申请编号 */ @ApiModelProperty("申请编号") @Excel(name = "申请编号") private String applicationNum; /** * 公告标题 */ @ApiModelProperty("公告标题") @Excel(name = "申请标题") private String title; /** * 用印类型 */ @ApiModelProperty("用印类型") @Excel(name = "用印类型", readConverterExp = "official=公章,contract=合同专用章,finance=财务专用章,legal=未知") private String sealType; /** * 申请用印原因 */ @ApiModelProperty("申请用印原因") private String reason; /** * 紧急程度 */ @ApiModelProperty("紧急程度") private String urgency; /** * 状态 */ @ApiModelProperty("状态") @Excel(name = "状态", readConverterExp = "pending=待审批,approved=已通过,rejected=已拒绝") private String status; /** * 创建者 */ @TableField(fill = FieldFill.INSERT) private Integer createUser; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; /** * 租户ID */ @TableField(fill = FieldFill.INSERT) private Long tenantId; }