package com.CUST.brain.dao.domain.business;

import com.CUST.brain.dao.domain.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 荣誉称号信息实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("honorary_title")
public class HonoraryTitle extends BaseEntity {
    
    /**
     * 荣誉ID
     */
    @TableId
    private String id;

    /**
     * 人才ID
     */
    private String talentId;

    /**
     * 荣誉称号
     */
    private String honorTitle;

    /**
     * 授予时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate awardTime;

    /**
     * 授予机构
     */
    private String awardingAgency;
} 