package cn.com.countrygarden.bi.main.model.ck.ksh;

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

import javax.persistence.*;
import java.util.Date;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "ck_ksh_unlockApplication")
@Data
public class CkKshUnlockApplication {

    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    private Integer id;

    /**
     * 基础数据关联
     */
    @Column(name="basic_id")
    private Integer basicId;

    //申请资料
    @Column(name="information")
    private String information;

    //申请原因
    @Column(name="reason")
    private String reason;

    @Column(name="create_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;


    /**
     *申请人
     */
    @Column(name="create_name")
    private String createName;

    /**
     * 创建人
     */
    @Column(name="create_by")
    private String createBy;
}
