123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- package com.hssx.cloudmodel.entity;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.extension.activerecord.Model;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableField;
- import java.io.Serializable;
- /**
- * <p>
- *
- * </p>
- *
- * @author 吴涛涛
- * @since 2019-07-25
- */
- @TableName("tb_dictionary_data")
- public class DictionaryData extends Model<DictionaryData> {
- private static final long serialVersionUID=1L;
- /**
- * 字典主键
- */
- @TableId(value = "id", type = IdType.AUTO)
- private Integer id;
- /**
- * 字典编码
- */
- @TableField("dict_code")
- private String dictCode;
- /**
- * 字典名称
- */
- @TableField("data_name")
- private String dataName;
- /**
- * 字典值
- */
- @TableField("dict_value")
- private Integer dictValue;
- /**
- * 字典排序
- */
- @TableField("dict_order")
- private Integer dictOrder;
- /**
- * 是否禁用 0-否 1-是
- */
- @TableField("disabled")
- private Integer disabled;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public String getDictCode() {
- return dictCode;
- }
- public void setDictCode(String dictCode) {
- this.dictCode = dictCode;
- }
- public String getDataName() {
- return dataName;
- }
- public void setDataName(String dataName) {
- this.dataName = dataName;
- }
- public Integer getDictValue() {
- return dictValue;
- }
- public void setDictValue(Integer dictValue) {
- this.dictValue = dictValue;
- }
- public Integer getDictOrder() {
- return dictOrder;
- }
- public void setDictOrder(Integer dictOrder) {
- this.dictOrder = dictOrder;
- }
- public Integer getDisabled() {
- return disabled;
- }
- public void setDisabled(Integer disabled) {
- this.disabled = disabled;
- }
- @Override
- protected Serializable pkVal() {
- return this.id;
- }
- @Override
- public String toString() {
- return "DictionaryData{" +
- "id=" + id +
- ", dictCode=" + dictCode +
- ", dataName=" + dataName +
- ", dictValue=" + dictValue +
- ", dictOrder=" + dictOrder +
- ", disabled=" + disabled +
- "}";
- }
- }
|