package org.jeecg.modules.database.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

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

/**
 * @Description: 辐射源类型
 * @Author: jeecg-boot
 * @Date: 2024-08-30
 * @Version: V1.0
 */
@Data
@TableName("radiate_type")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description = "辐射源类型")
public class RadiateType implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @Schema(description = "创建日期")
    private Date   createTime;
    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @Schema(description = "更新日期")
    private Date   updateTime;
    /**
     * 所属部门
     */
    @Schema(description = "所属部门")
    private String sysOrgCode;
    /**
     * 名称
     */
    @Excel(name = "名称", width = 15)
    @Schema(description = "名称")
    private String name;
    /**
     * 型号
     */
    @Excel(name = "型号", width = 15)
    @Schema(description = "型号")
    private String model;
    /**
     * 管理编号
     */
    @Excel(name = "管理编号", width = 15)
    @Schema(description = "管理编号")
    private String managementNo;
    /**
     * 有效期
     */
    @Excel(name = "有效期", width = 15)
    @Schema(description = "有效期")
    private String expireDate;
    /**
     * 房间号
     */
    @Excel(name = "房间号", width = 15)
    @Schema(description = "房间号")
    private String roomNo;
    /**
     * 附件
     */
    @Excel(name = "附件", width = 15)
    @Schema(description = "附件")
    private String attachment;
}
