You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gym/DictionaryVO.java

210 lines
3.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.entity.vo;
import com.entity.DictionaryEntity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
/**
* 字典
* 手机端接口返回实体辅助类
* (主要作用去除一些不必要的字段)
*/
@TableName("dictionary")
public class DictionaryVO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableField(value = "id")
private Long id;
/**
* 字段
*/
@TableField(value = "dic_code")
private String dicCode;
/**
* 字段名
*/
@TableField(value = "dic_name")
private String dicName;
/**
* 编码
*/
@TableField(value = "code_index")
private Integer codeIndex;
/**
* 编码名字
*/
@TableField(value = "index_name")
private String indexName;
/**
* 父字段id
*/
@TableField(value = "super_id")
private Integer superId;
/**
* 备注
*/
@TableField(value = "beizhu")
private String beizhu;
/**
* 创建时间
*/
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
@DateTimeFormat
@TableField(value = "create_time")
private Date createTime;
/**
* 设置:主键
*/
public Long getId() {
return id;
}
/**
* 获取:主键
*/
public void setId(Long id) {
this.id = id;
}
/**
* 设置:字段
*/
public String getDicCode() {
return dicCode;
}
/**
* 获取:字段
*/
public void setDicCode(String dicCode) {
this.dicCode = dicCode;
}
/**
* 设置:字段名
*/
public String getDicName() {
return dicName;
}
/**
* 获取:字段名
*/
public void setDicName(String dicName) {
this.dicName = dicName;
}
/**
* 设置:编码
*/
public Integer getCodeIndex() {
return codeIndex;
}
/**
* 获取:编码
*/
public void setCodeIndex(Integer codeIndex) {
this.codeIndex = codeIndex;
}
/**
* 设置:编码名字
*/
public String getIndexName() {
return indexName;
}
/**
* 获取:编码名字
*/
public void setIndexName(String indexName) {
this.indexName = indexName;
}
/**
* 设置父字段id
*/
public Integer getSuperId() {
return superId;
}
/**
* 获取父字段id
*/
public void setSuperId(Integer superId) {
this.superId = superId;
}
/**
* 设置:备注
*/
public String getBeizhu() {
return beizhu;
}
/**
* 获取:备注
*/
public void setBeizhu(String beizhu) {
this.beizhu = beizhu;
}
/**
* 设置:创建时间
*/
public Date getCreateTime() {
return createTime;
}
/**
* 获取:创建时间
*/
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
}