54 lines
865 B
Java
54 lines
865 B
Java
package com.bycrm.entity;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
|
|
import java.io.Serializable;
|
|
import java.time.LocalDateTime;
|
|
|
|
/**
|
|
* 数据字典项实体
|
|
*/
|
|
@Data
|
|
public class DictItem implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* 字典项ID
|
|
*/
|
|
private Long id;
|
|
|
|
/**
|
|
* 字典ID
|
|
*/
|
|
private Long dictId;
|
|
|
|
/**
|
|
* 字典项标签
|
|
*/
|
|
private String itemLabel;
|
|
|
|
/**
|
|
* 字典项值
|
|
*/
|
|
private String itemValue;
|
|
|
|
/**
|
|
* 排序
|
|
*/
|
|
private Integer sortOrder;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
private LocalDateTime createdAt;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
private LocalDateTime updatedAt;
|
|
}
|