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("academic_award")
public class AcademicAward extends BaseEntity {
    
    /**
     * 奖项id
     */
    @TableId(value = "id")
    private String id;

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

    /**
     * 奖励名称
     */
    private String awardName;

    /**
     * 奖励级别
     */
    private String awardLevel;

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

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