117 lines
2.3 KiB
Java
117 lines
2.3 KiB
Java
|
|
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");
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|