package com.skua.modules.system.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import com.skua.core.aspect.annotation.Dict; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; /** * 字段维护 */ @Data @TableName("sys_custom_field") @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @ApiModel(value="sys_custom_field对象", description="字段维护") public class SysCustomField { /**主键*/ @Excel(name = "主键", width = 15) @TableId(type = IdType.UUID) @ApiModelProperty(value = "主键") private java.lang.String id; /**字段code*/ @Excel(name = "字段code", width = 15) @ApiModelProperty(value = "字段code") private java.lang.String fieldCode; /**表主键*/ @Excel(name = "表主键", width = 15) @ApiModelProperty(value = "表主键") private java.lang.String tableId; /**字段名*/ @Excel(name = "字段名", width = 15) @ApiModelProperty(value = "字段名") private java.lang.String fieldName; /**字段描述*/ @Excel(name = "字段描述", width = 15) @ApiModelProperty(value = "字段描述") private java.lang.String fieldDescribe; /**字段类型*/ @Excel(name = "字段类型", width = 15) @ApiModelProperty(value = "字段类型") @Dict(dicCode = "field_type") private java.lang.String fieldType; /**列表是否显示*/ @Excel(name = "列表是否显示", width = 15) @ApiModelProperty(value = "列表是否显示") @Dict(dicCode = "yn") private java.lang.String listShow; /**表单是否显示*/ @Excel(name = "表单是否显示", width = 15) @ApiModelProperty(value = "表单是否显示") @Dict(dicCode = "yn") private java.lang.String formShow; /**表单分组*/ @Excel(name = "表单分组", width = 15) @ApiModelProperty(value = "表单分组") @Dict(dicCode = "equip_field_group") private java.lang.String fieldGroup; /**excel字段是否导出*/ @Excel(name = "excel字段是否导出", width = 15) @ApiModelProperty(value = "excel字段是否导出") @Dict(dicCode = "yn") private java.lang.String exportShow; /**是否必填*/ @Excel(name = "是否必填", width = 15) @ApiModelProperty(value = "是否必填") @Dict(dicCode = "yn") private java.lang.String required; /**校验规则*/ @Excel(name = "校验规则", width = 15) @ApiModelProperty(value = "校验规则") private java.lang.String checkRule; /**排序*/ @Excel(name = "排序", width = 15) @ApiModelProperty(value = "排序") private java.lang.Integer fieldSort; /**可输入长度*/ @Excel(name = "可输入长度", width = 15) @ApiModelProperty(value = "可输入长度") private java.lang.Integer fieldLength; /**字典项*/ @Excel(name = "字典项", width = 15) @ApiModelProperty(value = "可输入长度") private java.lang.String dictType; /**跳转地址*/ @Excel(name = "跳转地址", width = 15) @ApiModelProperty(value = "跳转地址") private java.lang.String redirectUrl; /**创建时间*/ @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 createTime; /** * java对象属性名 */ @Excel(name = "java对象属性名", width = 15) @ApiModelProperty(value = "java对象属性名") private java.lang.String entityFieldCode; /**是否对客户开放*/ @Excel(name = "是否对客户开放", width = 15) @ApiModelProperty(value = "是否对客户开放") @Dict(dicCode = "yn") private java.lang.String isOpen; }