123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- package com.yihu.figure.model.dict;
- import javax.persistence.*;
- /**
- * SystemDict entity. @author MyEclipse Persistence Tools
- */
- @Entity
- @Table(name = "system_dict")
- public class SystemDict implements java.io.Serializable {
- // Fields
- private String dictName;
- private String code;
- private String value;
- private String pyCode;
- private Integer sort;
- private Integer id;
- // Constructors
- /** default constructor */
- public SystemDict() {
- }
- /** minimal constructor */
- public SystemDict(String dictName, String code, String value) {
- this.dictName = dictName;
- this.code = code;
- this.value = value;
- }
- // Property accessors
- @Id
- @GeneratedValue(strategy = GenerationType.IDENTITY)
- @Column(name = "id", unique = true, nullable = false)
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- /** full constructor */
- public SystemDict(String dictName, String code, String value,
- String pyCode, Integer sort) {
- this.dictName = dictName;
- this.code = code;
- this.value = value;
- this.pyCode = pyCode;
- this.sort = sort;
- }
- @Column(name = "dict_name", nullable = false, length = 50)
- public String getDictName() {
- return this.dictName;
- }
- public void setDictName(String dictName) {
- this.dictName = dictName;
- }
- @Column(name = "code", nullable = false, length = 50)
- public String getCode() {
- return this.code;
- }
- public void setCode(String code) {
- this.code = code;
- }
- @Column(name = "value", nullable = false, length = 50)
- public String getValue() {
- return this.value;
- }
- public void setValue(String value) {
- this.value = value;
- }
- @Column(name = "py_code", length = 50)
- public String getPyCode() {
- return this.pyCode;
- }
- public void setPyCode(String pyCode) {
- this.pyCode = pyCode;
- }
- @Column(name = "sort")
- public Integer getSort() {
- return this.sort;
- }
- public void setSort(Integer sort) {
- this.sort = sort;
- }
- }
|