package com.cool.store.entity;

import lombok.Data;
import javax.persistence.*;

/**
 * 枚举信息实体类
 */
@Data
@Table(name = "xfsg_enum_info")
public class EnumInfoDO {

    /**
     * 主键ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;

    /**
     * 类型编码
     */
    @Column(name = "type_code")
    private String typeCode;

    /**
     * 系统键
     */
    @Column(name = "sys_key")
    private String sysKey;

    /**
     * 系统值
     */
    @Column(name = "sys_value")
    private String sysValue;

    /**
     * 是否删除 (0: 否, 1: 是)
     */
    @Column(name = "deleted")
    private Integer deleted;
}