ssjygl-xsct-service/ssjygl-xsx-common/src/main/java/com/cowr/model/base/BaseSmsNoticeContact.java

117 lines
2.3 KiB
Java
Raw Normal View History

2020-11-09 09:40:15 +08:00
package com.cowr.model.base;
import com.cowr.common.base.BaseModel;
import com.jfinal.plugin.activerecord.IBean;
import com.alibaba.fastjson.annotation.JSONField;
/**
* Generated by COWR Fri Nov 06 17:15:34 CST 2020
* TableName: sms_notice_contact
* Remarks: -
* PrimaryKey: id
*/
@SuppressWarnings("serial")
public abstract class BaseSmsNoticeContact<M extends BaseSmsNoticeContact<M>> extends BaseModel<M> implements IBean {
public static final String tablename = "sms_notice_contact";
@JSONField(serialize=false)
public String getTablename(){
return tablename;
}
/**
* name: id
* type: CHAR(32)
* isNullable: NO
* isPrimaryKey: YES
* defaultValue:
* @param id uuid
*/
@JSONField(name="id")
public void setId(String id) {
set("id", id);
}
/**
* @return id uuid
*/
@JSONField(name="id")
public String getId() {
return getStr("id");
}
/**
* name: phone
* type: VARCHAR(20)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue:
* @param phone
*/
@JSONField(name="phone")
public void setPhone(String phone) {
set("phone", phone);
}
/**
* @return phone
*/
@JSONField(name="phone")
public String getPhone() {
return getStr("phone");
}
/**
* name: name
* type: VARCHAR(255)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param name
*/
@JSONField(name="name")
public void setName(String name) {
set("name", name);
}
/**
* @return name
*/
@JSONField(name="name")
public String getName() {
return getStr("name");
}
/**
* name: type
* type: JSON(1073741824)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param type [1,2,3,...]
1.
*/
@JSONField(name="type")
public void setType(String type) {
set("type", type);
}
/**
* @return type [1,2,3,...]
1.
*/
@JSONField(name="type")
public String getType() {
return getStr("type");
}
}