package com.cool.store.entity.config;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "zxjp_cfg_item")
public class ConfigItemDO implements Serializable {

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

    @Column(name = "item_code")
    private String itemCode;

    @Column(name = "item_name")
    private String itemName;

    @Column(name = "category_id")
    private Long categoryId;

    @Column(name = "sort_no")
    private Integer sortNo;

    @Column(name = "status")
    private Integer status;

    @Column(name = "is_deleted")
    private Integer isDeleted;

    @Column(name = "remark")
    private String remark;

    @Column(name = "expense_type_code")
    private String expenseTypeCode;

    @Column(name = "multiple_choice")
    private Integer multipleChoice;

    @Column(name = "created_user_id")
    private String createdUserId;

    @Column(name = "created_time")
    private Date createdTime;

    @Column(name = "updated_user_id")
    private String updatedUserId;

    @Column(name = "updated_time")
    private Date updatedTime;
}
