package com.zksy.tableData.domain;

import com.baomidou.mybatisplus.annotation.*;

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

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * 
 * @TableName e_lic_certificate
 */
@TableName(value ="e_lic_certificate")
@Data
public class ELicCertificate implements Serializable {
    @TableField("PE_ID")
    @JsonProperty("PE_ID")
    private String peId;

    @TableField("LICID")
    @JsonProperty("LICID")
    private String licid;

    @TableField("PRIPID")
    @JsonProperty("PRIPID")
    private String pripid;

    @TableField("LICNO")
    @JsonProperty("LICNO")
    private String licno;

    @TableField("LICNAME")
    @JsonProperty("LICNAME")
    private String licname;

    @TableField("VALFROM")
    @JsonProperty("VALFROM")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date valfrom;

    @TableField("VALTO")
    @JsonProperty("VALTO")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date valto;

    @TableField("LICANTH")
    @JsonProperty("LICANTH")
    private String licanth;

    @TableField("S_EXT_DATATIME")
    @JsonProperty("S_EXT_DATATIME")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sExtDatatime;

    @TableField("S_EXT_TIMESTAMP")
    @JsonProperty("S_EXT_TIMESTAMP")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sExtTimestamp;

    @TableField(value = "I_TIME", fill = FieldFill.INSERT)
    @JsonProperty("I_TIME")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date iTime;

    @TableField("S_EXT_FROMNODE")
    @JsonProperty("S_EXT_FROMNODE")
    private String sExtFromnode;
}