package com.deloitte.system.model;
|
|
import com.common.annotation.Table;
|
import com.common.core.domain.BaseModel;
|
|
@Table(tableName = "swo",clazz = Swo.class)
|
public class Swo extends BaseModel<Swo> {
|
public static final Swo dao= new Swo();
|
|
public Long getDataId(){
|
return getLong("id");
|
}
|
|
public Swo setDataId(Long dataId){
|
set("id", dataId);
|
return this;
|
}
|
public String getContactNameHidden(){
|
return getStr("contact_name_hidden");
|
}
|
public Swo setContactNameHidden(String contactNameHidden){
|
set("contact_name_hidden",contactNameHidden);
|
return this;
|
}
|
public String getEmail(){
|
return getStr("email");
|
}
|
public Swo setEmail(String email){
|
set("email",email);
|
return this;
|
}
|
public String getContact(){
|
return getStr("contact");
|
}
|
public Swo setContact(String contact){
|
set("contact",contact);
|
return this;
|
}
|
public String getAuthor(){
|
return getStr("author");
|
}
|
public Swo setAuthor(String author){
|
set("author",author);
|
return this;
|
}
|
public String getMessage(){
|
return getStr("message");
|
}
|
public Swo setMessage(String message){
|
set("message",message);
|
return this;
|
}
|
public String getPrimaryRecipient(){
|
return getStr("primary_recipient");
|
}
|
public Swo setPrimaryRecipient(String primaryRecipient){
|
set("primary_recipient",primaryRecipient);
|
return this;
|
}
|
public String getSend(){
|
return getStr("send");
|
}
|
public Swo setSend(String send){
|
set("send",send);
|
return this;
|
}
|
public String getCc(){
|
return getStr("cc");
|
}
|
public Swo setCc(String cc){
|
set("cc",cc);
|
return this;
|
}
|
public String getCcName(){
|
return get("cc_name");
|
}
|
public Swo setCcName(String ccName){
|
set("cc_name",ccName);
|
return this;
|
}
|
public String getBcc(){
|
return getStr("bcc");
|
}
|
public Swo setBcc(String bcc){
|
set("bcc",bcc);
|
return this;
|
}
|
public String getBccName(){
|
return getStr("bcc_name");
|
}
|
public Swo setBccName(String bccName){
|
set("bcc_name",bccName);
|
return this;
|
}
|
public String getRecipient(){
|
return getStr("recipient");
|
}
|
public Swo setRecipient(String recipient){
|
set("recipient",recipient);
|
return this;
|
}
|
public String getToName(){
|
return getStr("to_name");
|
}
|
public Swo setToName(String toName){
|
set("to_name",toName);
|
return this;
|
}
|
public String getSfRecordId(){
|
return getStr("sf_record_id");
|
}
|
public Swo setSfRecordId(String sfRecordId){
|
set("sf_record_id", sfRecordId);
|
return this;
|
}
|
public Swo findById(String dataId){
|
return this.dao.findFirst("select * from `" + getTableName() + "` where id=? ", dataId);
|
}
|
}
|