package com.cool.store.entity.dict;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 字典项
 * @author   wangff
 * @date   2025-09-25 06:34
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysDictColumnDO implements Serializable {
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("merchant_dict_group.id 字典表分组id")
    private Long dictGroupId;

    @ApiModelProperty("merchant_dict_table_info.id 字典表信息表id")
    private Long dictTableId;

    @ApiModelProperty("字典项名称")
    private String columnName;

    @ApiModelProperty("字典项编码")
    private String columnCode;

    @ApiModelProperty("启用状态 0:不启用 1:启用")
    private Integer openStatus;

    @ApiModelProperty("备注")
    private String remark;
    
    @ApiModelProperty("权限标志, 使用二进制，&1不允许编辑 &2不允许删除")
    private Integer authFlag;

    @ApiModelProperty("排序编号")
    private Integer sortNum;

    @ApiModelProperty("删除标识")
    private Boolean deleted;

    @ApiModelProperty("创建人")
    private String createUserId;

    @ApiModelProperty("更新人")
    private String updateUserId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}