package cn.iocoder.yudao.module.mes.controller.admin.safety.vo.certificate;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - 安全生产-资格证书 Response VO")
|
@Data
|
public class MesSafetyCertificateRespVO {
|
|
@Schema(description = "编号", example = "1024")
|
private Long id;
|
|
@Schema(description = "持证人编号", example = "1")
|
private Long userId;
|
|
@Schema(description = "持证人姓名")
|
private String userName;
|
|
@Schema(description = "所属部门编号", example = "120")
|
private Long deptId;
|
|
@Schema(description = "所属部门名称")
|
private String deptName;
|
|
@Schema(description = "证书类型", example = "1")
|
private Integer certType;
|
|
@Schema(description = "证书编号", example = "T123456789")
|
private String certNo;
|
|
@Schema(description = "发证机关")
|
private String issueOrg;
|
|
@Schema(description = "发证日期")
|
private LocalDate issueDate;
|
|
@Schema(description = "有效期至")
|
private LocalDate expireDate;
|
|
@Schema(description = "距到期天数(负数表示已过期)", example = "180")
|
private Long daysToExpire;
|
|
@Schema(description = "是否已过期", example = "false")
|
private Boolean expired;
|
|
@Schema(description = "是否即将到期(30 天内)", example = "false")
|
private Boolean expiringSoon;
|
|
@Schema(description = "状态:1有效 0已作废", example = "1")
|
private Integer status;
|
|
@Schema(description = "证书扫描件地址")
|
private String attachmentUrl;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
@Schema(description = "创建时间")
|
private LocalDateTime createTime;
|
|
}
|