| | |
| | | package com.kidgrow.usercenter.model; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.kidgrow.common.model.SuperModel; |
| | | import com.baomidou.mybatisplus.annotation.FieldFill; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.extension.activerecord.Model; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.NoArgsConstructor; |
| | | import org.hibernate.validator.constraints.*; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br> |
| | | * |
| | | * @version 1.0 |
| | | * @Description: 系统字典表<br> |
| | | * @Project: 用户中心<br> |
| | | * @CreateDate: Created in 2020-04-02 14:02:50 <br> |
| | | * @Author: <a href="4345453@kidgrow.com">liuke</a> |
| | | * @version 1.0 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | |
| | | @AllArgsConstructor |
| | | @TableName("sys_dictionaries") |
| | | public class SysDictionaries extends SuperModel { |
| | | private static final long serialVersionUID=1L; |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 字典值 |
| | | */ |
| | | @NotBlank(message = "字典值不能为空") |
| | | private String dictionariesName; |
| | | /** |
| | | * 字典归属分类的标识(如果这个字典项是分类,则该字段为空) |
| | | */ |
| | | private String dictionariesClassId; |
| | | /** |
| | | * 字段排序 默认0 |
| | | */ |
| | | private Integer dictionariesOrder; |
| | | /** |
| | | * 是否删除,1删除,0未删除 |
| | | */ |
| | | private Integer isDel; |
| | | /** |
| | | * 状态,1启用,0停用 |
| | | */ |
| | | private Integer enabled; |
| | | } |
| | | /** |
| | | * 字典值 |
| | | */ |
| | | @NotEmpty(message = "字典值不能为空") |
| | | private String dictionariesName; |
| | | |
| | | @NotEmpty(message = "字典KEY不能为空") |
| | | private String dictionariesKey; |
| | | /** |
| | | * 字典归属分类的标识(如果这个字典项是分类,则该字段为空) |
| | | */ |
| | | private String dictionariesClassId; |
| | | /** |
| | | * 字段排序 默认0 |
| | | */ |
| | | private Integer dictionariesOrder; |
| | | /** |
| | | * 是否删除,1删除,0未删除 |
| | | */ |
| | | @TableLogic |
| | | private Integer isDel; |
| | | /** |
| | | * 状态,1启用,0停用 |
| | | */ |
| | | private Integer enabled; |
| | | } |