12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- package org.jeecg.modules.system.entity;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.util.Date;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import lombok.experimental.Accessors;
- import org.jeecg.common.aspect.annotation.Dict;
- import org.jeecgframework.poi.excel.annotation.Excel;
- import org.springframework.format.annotation.DateTimeFormat;
- /**
- * <p>
- *
- * </p>
- *
- * @Author zhangweijian
- * @since 2018-12-28
- */
- @Data
- @EqualsAndHashCode(callSuper = false)
- @Accessors(chain = true)
- public class SysDictItem implements Serializable {
- private static final long serialVersionUID = 1L;
- /**
- * id
- */
- @TableId(type = IdType.ASSIGN_ID)
- private String id;
- /**
- * 字典id
- */
- private String dictId;
- /**
- * 字典项文本
- */
- @Excel(name = "字典项文本", width = 20)
- private String itemText;
- /**
- * 字典项值
- */
- @Excel(name = "字典项值", width = 30)
- private String itemValue;
- /**
- * 描述
- */
- @Excel(name = "描述", width = 40)
- private String description;
- /**
- * 排序
- */
- @Excel(name = "排序", width = 15,type=4)
- private Integer sortOrder;
- /**
- * 状态(1启用 0不启用)
- */
- @Dict(dicCode = "dict_item_status")
- private Integer status;
- private String createBy;
- @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
- private Date createTime;
- private String updateBy;
- @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
- private Date updateTime;
- }
|