package cn.ey.biz.module.system.api.category.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@ApiModel("RPC 服务 - 分类配置数据 Response DTO")
@Data
public class CategoryDataV2RespDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分类数据id")
    private Long dataId;

    @ApiModelProperty(value = "分类编码", example = "system_sex")
    private String categoryCode;

    @ApiModelProperty(value = "父级节点")
    private Long dataPid;

    @ApiModelProperty(value = "父级唯一值")
    private String dataParentIdentifier;

    @ApiModelProperty(value = "配置编码", example = "system_sex_male")
    private String dataCode;

    @ApiModelProperty(value = "编码唯一值")
    private String dataIdentifier;

    @ApiModelProperty(value = "配置名称")
    private String dataName;

    @ApiModelProperty(value = "配置多语言名称", example = "男")
    private String label;

    @ApiModelProperty(value = "配置值", example = "1")
    private String dataValue;

    @ApiModelProperty(value = "是否有子节点")
    private Integer hasChildren;

    @ApiModelProperty(value = "分类版本号", example = "1")
    private Long categoryVersion;

    @ApiModelProperty(value = "配置值版本号", example = "1")
    private Long dataVersion;

    @ApiModelProperty(value = "是否最新版本  0  否 1 是")
    private Integer newVersion;

    @ApiModelProperty(value = "排序码")
    private Integer sort;

    @ApiModelProperty(value = "更新时间")

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

    @ApiModelProperty(value = "状态", example = "0")
    private Integer dataStatus;

    @ApiModelProperty(value = "备注")
    private String dataRemark;

}
