package com.hzs.common.domain.system.home;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.annotation.Excel;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 大事记-发展历程
 * </p>
 *
 * @author hzs
 * @since 2022-12-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("HO_MEMOIR_PROCESS")
@KeySequence("HO_MEMOIR_PROCESS_SEQ")
public class HoMemoirProcess extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 标题名称
     */
    @Excel(name = "标题名称",sort = 1)
    @TableField("TITLE_NAME")
    private String titleName;

    /**
     * 排序
     */
    @TableField("SORT")
    private Integer sort;

    /**
     * 时间
     */
    @Excel(name = "时间",dateFormat = "yyyy-MM-dd",sort = 2)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("SETUP_TIME")
    private Date setupTime;

    /**
     * 生效日期
     */
    @Excel(name = "生效时间",dateFormat = "yyyy-MM-dd HH:mm:ss",sort = 3)
    @TableField("EFFECTIVE_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date effectiveDate;

    /**
     * 类型 0 中文 1 英文
     */
    @TableField("LANGUAGE_TYPE")
    private Integer languageType;


}
