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

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

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

/**
 * @Description:    保洁拓展数据
 * @author  木木子
 * @email 944528607@qq.com
 * @date  2020/4/20  9:04
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "ck_cleaner_expand")
@Data
public class CkCleanerExpand implements Serializable{
    private static final long serialVersionUID = 1L;
    /**
     * 
     */
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;
    /**
     * 基础数据关联
     */
 	@Column(name="basic_id")
    private Integer basicId;
    /**
     * 字段配置关联
     */
 	@Column(name="field_code")
    private String fieldCode;
    /**
     * 字段值api/ckCleaner
     */
 	@Column(name="value")
    private String value;
    /**
     * 状态(2:禁用，1：启用)
     */
 	@Column(name="status")
    private Integer status;
    /**
     * 创建人
     */
 	@Column(name="create_by")
    private String createBy;
    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改人
     */
 	@Column(name="update_by")
    private String updateBy;
    /**
     * 修改时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}
