package io.modules.item.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.modules.item.entity.FrontUserEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 主表
 *
 * @author Mark #
 * @since 1.0.0 2025-01-24
 */
@Data
@Schema(name = "主表")
public class CertificatesDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	private Long id; // 编号
	private Long userId;
	private String name;
	private String company;
	private String department;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date issueDate;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date expireDate;
	private Integer status;
	private String img;
	private String role;
	private String certificateData;
	private String auditStatus;
	private String auditComments;
	private String hex;
	private Date createdAt;

	private UserDTO user;

}
