package com.bonus.zlpt.company.api.domain;

import com.bonus.zlpt.common.core.annotation.Excel;
import com.bonus.zlpt.common.core.web.domain.BaseEntity;
import com.bonus.zlpt.common.core.web.page.PageDomain;
import com.fasterxml.jackson.databind.ser.Serializers;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据字典（企业类型管理）
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("数据字典（企业类型管理）")
public class SysDic extends PageDomain {

    private static final long serialVersionUID = 1L;


    private PageDomain pageDomain;

    @Excel(name = "id")
    @ApiModelProperty(value = "id", required = true)
    private Integer id;

    @Excel(name = "父id")
    @ApiModelProperty(value = "父id", required = true)
    private Integer pId;

    @Excel(name = "编码")
    @ApiModelProperty(value = "编码", required = true)
    private String code;

    @Excel(name = "字典名称")
    @ApiModelProperty(value = "字典名称", required = true)
    private String name;

    @Excel(name = "描述")
    @ApiModelProperty(value = "描述", required = true)
    private String description;

    @Excel(name = "值")
    @ApiModelProperty(value = "值", required = true)
    private String value;

    @Excel(name = "排序")
    @ApiModelProperty(value = "排序", required = true)
    private String sort;

    @Excel(name = "层级")
    @ApiModelProperty(value = "层级", required = true)
    private String level;

    @Excel(name = "状态")
    @ApiModelProperty(value = "状态", required = true)
    private String status;

    @Excel(name = "创建时间")
    @ApiModelProperty(value = "创建时间", required = true)
    private String createTime;

    @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人", required = true)
    private String creator;


}
