package com.hzs.system.config.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.annotation.Excel;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * 标签配置VO
 *
 * @Description:
 * @Author: ljc
 * @Time: 2023/2/1 13:49
 * @Classname: BdLabelVO
 * @Package_name: com.hzs.system.config.vo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BdLabelVO implements Serializable {
    private static final long serialVersionUID = -8450046663567447166L;


    /**
     * 主键
     */
    private Integer pkId;

    /**
     * 标签
     */
    @Transaction(transactionKey = EnumsPrefixConstants.KEY_LABEL, isValue = false)
    @Excel(name = "标签名称")
    private String label;

    /**
     * 标签翻译健
     */
    private Integer labelTransaction;

    private String labelTransactionVal;
    /**
     * 标签图片
     */
    private String labelImage;

    /**
     * 标签分类
     */
    @Transaction(transactionKey = EnumsPrefixConstants.TAG_TYPE)
    private Integer labelType;

    @Excel(name = "标签类型")
    private String labelTypeVal;
    /**
     * 翻译Key
     */
    private Integer pkTransaction;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;


    /**
     * 开始时间
     */
    private String  startDate;

    /**
     * 结束时间
     */
    private String endDate;

    /**
     * 国家ID
     */
    private Integer pkCountry;

}
