123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- package com.yihu.ehr.basic.apps.model;
- import javax.persistence.*;
- /**
- * apps_api_parameter对象。
- *
- * @author linzhuo
- * @version 1.0
- * @created 2016年7月7日17:45:30
- */
- @Entity
- @Table(name = "apps_api_parameter")
- public class AppApiParameter {
- private int id;
- private String name; //参数名
- private String type; //参数类型
- private String dataType; //数据类型
- private String description; //说明
- private String required; //是否必须
- private int appApiId; //apiId
- private String memo; //备注
- private String defaultValue; //默认值
- private Integer maxLength; //最大长度
- private Integer sort; //序号
- @Id
- @GeneratedValue(strategy = GenerationType.AUTO)
- @Column(name = "id", unique = true, nullable = false)
- public int getId() {
- return id;
- }
- public void setId(int id) {
- this.id = id;
- }
- @Column(name = "name", nullable = true)
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- @Column(name = "description", nullable = true)
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
- @Column(name = "type", nullable = true)
- public String getType() {
- return type;
- }
- public void setType(String type) {
- this.type = type;
- }
- @Column(name = "data_type", nullable = true)
- public String getDataType() {
- return dataType;
- }
- public void setDataType(String dataType) {
- this.dataType = dataType;
- }
- @Column(name = "required", nullable = true)
- public String getRequired() {
- return required;
- }
- public void setRequired(String required) {
- this.required = required;
- }
- @Column(name = "app_api_id", nullable = true)
- public int getAppApiId() {
- return appApiId;
- }
- public void setAppApiId(int appApiId) {
- this.appApiId = appApiId;
- }
- @Column(name = "memo", nullable = true)
- public String getMemo() {
- return memo;
- }
- public void setMemo(String memo) {
- this.memo = memo;
- }
- @Column(name = "default_value", nullable = true)
- public String getDefaultValue() {
- return defaultValue;
- }
- public void setDefaultValue(String defaultValue) {
- this.defaultValue = defaultValue;
- }
- @Column(name = "max_length", nullable = true)
- public Integer getMaxLength() {
- return maxLength;
- }
- public void setMaxLength(Integer maxLength) {
- this.maxLength = maxLength;
- }
- @Column(name = "sort", nullable = false)
- public Integer getSort() {
- return sort;
- }
- public void setSort(Integer sort) {
- this.sort = sort;
- }
- }
|