|
|
@ -12,6 +12,7 @@ import lombok.*; |
|
|
@Builder |
|
|
@Builder |
|
|
@AllArgsConstructor |
|
|
@AllArgsConstructor |
|
|
@NoArgsConstructor |
|
|
@NoArgsConstructor |
|
|
|
|
|
@Data |
|
|
public class SysDictData extends BaseEntity { |
|
|
public class SysDictData extends BaseEntity { |
|
|
private static final long serialVersionUID = 1L; |
|
|
private static final long serialVersionUID = 1L; |
|
|
@Excel( |
|
|
@Excel( |
|
|
@ -19,13 +20,13 @@ public class SysDictData extends BaseEntity { |
|
|
cellType = ColumnType.NUMERIC |
|
|
cellType = ColumnType.NUMERIC |
|
|
) |
|
|
) |
|
|
private Long dictCode; |
|
|
private Long dictCode; |
|
|
@Getter |
|
|
|
|
|
|
|
|
|
|
|
@Excel( |
|
|
@Excel( |
|
|
name = "字典排序", |
|
|
name = "字典排序", |
|
|
cellType = ColumnType.NUMERIC |
|
|
cellType = ColumnType.NUMERIC |
|
|
) |
|
|
) |
|
|
private Long dictSort; |
|
|
private Long dictSort; |
|
|
@Setter |
|
|
|
|
|
|
|
|
|
|
|
@Excel( |
|
|
@Excel( |
|
|
name = "字典标签" |
|
|
name = "字典标签" |
|
|
) |
|
|
) |
|
|
@ -38,32 +39,23 @@ public class SysDictData extends BaseEntity { |
|
|
name = "字典类型" |
|
|
name = "字典类型" |
|
|
) |
|
|
) |
|
|
private String dictType; |
|
|
private String dictType; |
|
|
@Setter |
|
|
|
|
|
|
|
|
|
|
|
private String cssClass; |
|
|
private String cssClass; |
|
|
@Getter |
|
|
|
|
|
|
|
|
|
|
|
private String listClass; |
|
|
private String listClass; |
|
|
@Getter |
|
|
|
|
|
|
|
|
|
|
|
@Excel( |
|
|
@Excel( |
|
|
name = "是否默认", |
|
|
name = "是否默认", |
|
|
readConverterExp = "Y=是,N=否" |
|
|
readConverterExp = "Y=是,N=否" |
|
|
) |
|
|
) |
|
|
private String isDefault; |
|
|
private String isDefault; |
|
|
@Setter |
|
|
|
|
|
@Getter |
|
|
|
|
|
|
|
|
|
|
|
@Excel( |
|
|
@Excel( |
|
|
name = "状态", |
|
|
name = "状态", |
|
|
readConverterExp = "0=正常,1=停用" |
|
|
readConverterExp = "0=正常,1=停用" |
|
|
) |
|
|
) |
|
|
private String status; |
|
|
private String status; |
|
|
|
|
|
|
|
|
public void setDictCode(Long dictCode) { |
|
|
|
|
|
this.dictCode = dictCode; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setDictSort(Long dictSort) { |
|
|
|
|
|
this.dictSort = dictSort; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@NotBlank( |
|
|
@NotBlank( |
|
|
message = "字典标签不能为空" |
|
|
message = "字典标签不能为空" |
|
|
) |
|
|
) |
|
|
|