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

334 lines
6.8 KiB
Java
Raw Blame History

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.cowr.model.base;
import com.cowr.common.base.BaseModel;
import com.jfinal.plugin.activerecord.IBean;
import com.alibaba.fastjson.annotation.JSONField;
/**
* Generated by COWR Mon Jul 26 16:28:20 CST 2021
* TableName: customer
* Remarks: 客户相关 - 客户
* PrimaryKey: id
*/
@SuppressWarnings("serial")
public abstract class BaseCustomer<M extends BaseCustomer<M>> extends BaseModel<M> implements IBean {
public static final String tablename = "customer";
@JSONField(serialize=false)
public String getTablename(){
return tablename;
}
/**
* name: id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: YES
* defaultValue:
* @param id
*/
@JSONField(name="id")
public void setId(Integer id) {
set("id", id);
}
/**
* @return id
*/
@JSONField(name="id")
public Integer getId() {
return getInt("id");
}
/**
* name: name
* type: VARCHAR(128)
* isNullable: NO
* 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: address
* type: VARCHAR(256)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param address 开票地址
*/
@JSONField(name="address")
public void setAddress(String address) {
set("address", address);
}
/**
* @return address 开票地址
*/
@JSONField(name="address")
public String getAddress() {
return getStr("address");
}
/**
* name: phone
* type: VARCHAR(20)
* isNullable: YES
* 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: texpayer_name
* type: VARCHAR(255)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param texpayerName 开票公司名称
*/
@JSONField(name="texpayer_name")
public void setTexpayerName(String texpayerName) {
set("texpayer_name", texpayerName);
}
/**
* @return texpayer_name 开票公司名称
*/
@JSONField(name="texpayer_name")
public String getTexpayerName() {
return getStr("texpayer_name");
}
/**
* name: texpayer_num
* type: VARCHAR(20)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param texpayerNum 税号
*/
@JSONField(name="texpayer_num")
public void setTexpayerNum(String texpayerNum) {
set("texpayer_num", texpayerNum);
}
/**
* @return texpayer_num 税号
*/
@JSONField(name="texpayer_num")
public String getTexpayerNum() {
return getStr("texpayer_num");
}
/**
* name: bank_name
* type: VARCHAR(128)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param bankName 开户行名称
*/
@JSONField(name="bank_name")
public void setBankName(String bankName) {
set("bank_name", bankName);
}
/**
* @return bank_name 开户行名称
*/
@JSONField(name="bank_name")
public String getBankName() {
return getStr("bank_name");
}
/**
* name: bank_account
* type: VARCHAR(128)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param bankAccount 开户行账号
*/
@JSONField(name="bank_account")
public void setBankAccount(String bankAccount) {
set("bank_account", bankAccount);
}
/**
* @return bank_account 开户行账号
*/
@JSONField(name="bank_account")
public String getBankAccount() {
return getStr("bank_account");
}
/**
* name: memo
* type: VARCHAR(256)
* isNullable: YES
* isPrimaryKey: NO
* defaultValue:
* @param memo
*/
@JSONField(name="memo")
public void setMemo(String memo) {
set("memo", memo);
}
/**
* @return memo
*/
@JSONField(name="memo")
public String getMemo() {
return getStr("memo");
}
/**
* name: del
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 0
* @param del
*/
@JSONField(name="del")
public void setDel(Integer del) {
set("del", del);
}
/**
* @return del
*/
@JSONField(name="del")
public Integer getDel() {
return getInt("del");
}
/**
* name: type
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 0
* @param type 是否预付费客户0.不是1.是
*/
@JSONField(name="type")
public void setType(Integer type) {
set("type", type);
}
/**
* @return type 是否预付费客户0.不是1.是
*/
@JSONField(name="type")
public Integer getType() {
return getInt("type");
}
/**
* name: invoice_type
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 1
* @param invoiceType 1.普票2.专票
*/
@JSONField(name="invoice_type")
public void setInvoiceType(Integer invoiceType) {
set("invoice_type", invoiceType);
}
/**
* @return invoice_type 1.普票2.专票
*/
@JSONField(name="invoice_type")
public Integer getInvoiceType() {
return getInt("invoice_type");
}
/**
* 是否预售客户
* name: presell_type
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 1
* @param presellType 0不是1是
*/
@JSONField(name="presell_type")
public void setPresellType(Integer presellType) {
set("presell_type", presellType);
}
/**
* @return invoice_type 0不是1是
*/
@JSONField(name="presell_type")
public Integer getPresellType() {
return getInt("presell_type");
}
/**
* name: customer_type_id
* type: INT(10)
* isNullable: NO
* isPrimaryKey: NO
* defaultValue: 0
* @param customerTypeId 客户分类id
*/
@JSONField(name="customer_type_id")
public void setCustomerTypeId(Integer customerTypeId) {
set("customer_type_id", customerTypeId);
}
/**
* @return customer_type_id 客户分类id
*/
@JSONField(name="customer_type_id")
public Integer getCustomerTypeId() {
return getInt("customer_type_id");
}
}