package org.stm.base.domain.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: st_domain
 * @Author: yzh
 * @Date:   2023-03-04
 * @Version: V1.0
 */
@Data
@TableName("st_domain")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="st_domain对象", description="领域管理")
public class StDomain implements Serializable {
    /**ID*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private java.lang.Integer id;
    /**领域代码*/
    @Excel(name = "领域代码", width = 15)
    @ApiModelProperty(value = "领域代码")
    private java.lang.String domainCode;
    /**领域名称*/
    @Excel(name = "领域名称", width = 15)
    @ApiModelProperty(value = "领域名称")
    private java.lang.String domainName;
    /**等级*/
    @Excel(name = "等级", width = 15)
    @ApiModelProperty(value = "等级")
    @TableField(value = "level1")
    private java.lang.Integer level;
    /**领域说明*/
    @Excel(name = "领域说明", width = 15)
    @ApiModelProperty(value = "领域说明")
    private java.lang.String domainDesc;
    /**上级领域代码*/
    @Excel(name = "上级领域代码", width = 15)
    @ApiModelProperty(value = "上级领域代码")
    private java.lang.String upperDomainCode;
    /**审核标志;4 初始状态 3 提交审核 2退回 1审核通过*/
    @Excel(name = "审核标志;4 初始状态 3 提交审核 2退回 1审核通过", width = 15)
    @ApiModelProperty(value = "审核标志;4 初始状态 3 提交审核 2退回 1审核通过")
    private java.lang.String approveFlag;
    /**有效标志;1 有效 0无效*/
    @Excel(name = "有效标志;1 有效 0无效", width = 15)
    @ApiModelProperty(value = "有效标志;1 有效 0无效")
    private java.lang.String valid;
    /**创建人*/
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private java.lang.String createdUser;
    /**创建时间*/
    @Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createdTime;
    /**更新人*/
    @Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
    private java.lang.String updatedUser;
    /**更新时间*/
    @Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updatedTime;
    /**是否有子节点*/
    @Excel(name = "是否有子节点", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否有子节点")
    private java.lang.String hasChild;
}
