package cn.freemud.entities.db;

import lombok.Data;

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

@Data
@Table(name = "open_platform_config")
public class OpenPlatformConfig {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 业务key
     */
    @Column(name = "global_key")
    private String globalKey;

    /**
     * 业务value
     */
    @Column(name = "global_value")
    private String globalValue;

    /**
     * 0-否 1-是
     */
    private Integer state;

    /**
     * 描述信息
     */
    @Column(name = "global_desc")
    private String globalDesc;
    /**
     * 创建时间
     */
    @Column(name = "gmt_created")
    private Date gmtCreated;

    /**
     * 修改时间
     */
    @Column(name = "gmt_modified")
    private Date gmtModified;
}