package org.jeecg.modules.oroqen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
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: 2025-01-08
 * @Version: V1.0
 */
@Data
@TableName("oroqen_heritage_inheritor")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description = "非遗传承人")
public class OroqenHeritageInheritor implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;

    /**姓名*/
    @Excel(name = "姓名", width = 15)
    @Schema(description = "姓名")
    private String name;

    /**性别(0-女,1-男)*/
    @Excel(name = "性别(0-女,1-男)", width = 15)
    @Schema(description = "性别(0-女,1-男)")
    private Integer gender;

    /**出生年份*/
    @Excel(name = "出生年份", width = 15)
    @Schema(description = "出生年份")
    private Integer birthYear;

    /**籍贯*/
    @Excel(name = "籍贯", width = 15)
    @Schema(description = "籍贯")
    private String hometown;

    /**传承技艺*/
    @Excel(name = "传承技艺", width = 15)
    @Schema(description = "传承技艺")
    private String heritageSkills;

    /**传承级别*/
    @Excel(name = "传承级别", width = 15)
    @Schema(description = "传承级别")
    private String heritageLevel;

    /**头像*/
    @Excel(name = "头像", width = 15)
    @Schema(description = "头像")
    private String avatar;

    /**个人简介*/
    @Excel(name = "个人简介", width = 15)
    @Schema(description = "个人简介")
    private String biography;

    /**主要成就*/
    @Excel(name = "主要成就", width = 15)
    @Schema(description = "主要成就")
    private String achievements;

    /**代表作品*/
    @Excel(name = "代表作品", width = 15)
    @Schema(description = "代表作品")
    private String representativeWorks;

    /**作品图片*/
    @Excel(name = "作品图片", width = 15)
    @Schema(description = "作品图片")
    private String workImages;

    /**联系方式*/
    @Excel(name = "联系方式", width = 15)
    @Schema(description = "联系方式")
    private String contactInfo;

    /**状态(0-禁用,1-启用)*/
    @Excel(name = "状态(0-禁用,1-启用)", width = 15)
    @Schema(description = "状态(0-禁用,1-启用)")
    private Integer status;

    /**创建人*/
    @Schema(description = "创建人")
    private String createBy;

    /**创建日期*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;

    /**更新人*/
    @Schema(description = "更新人")
    private String updateBy;

    /**更新日期*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
}