net.gdface.facelog.db.PersonBean Maven / Gradle / Ivy
// ______________________________________________________
// Generated by sql2java - https://github.com/10km/sql2java
// JDBC driver used at code generation time: com.mysql.jdbc.Driver
// template: bean.java.vm
// ______________________________________________________
package net.gdface.facelog.db;
import java.io.Serializable;
import java.util.Objects;
import gu.sql2java.BaseRow;
import com.facebook.swift.codec.ThriftStruct;
import com.facebook.swift.codec.ThriftField;
import com.facebook.swift.codec.ThriftField.Requiredness;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import net.gdface.annotation.CodegenLength;
import net.gdface.annotation.CodegenRequired;
import net.gdface.annotation.CodegenDefaultvalue;
import net.gdface.annotation.CodegenInvalidValue;
/**
* PersonBean is a mapping of fl_person Table.
*
Meta Data Information (in progress):
*
* - comments: 人员基本描述信息
*
* @author guyadong
*/
@ThriftStruct
@ApiModel(description="人员基本描述信息")
public final class PersonBean extends BaseRow
implements Serializable,Constant
{
private static final long serialVersionUID = 7741617836285025804L;
/** comments:用户id */
@ApiModelProperty(value = "用户id" ,required=true ,dataType="Integer")
@CodegenRequired@CodegenInvalidValue("0")
private Integer id;
/** comments:所属用户组id */
@ApiModelProperty(value = "所属用户组id" ,dataType="Integer")
@CodegenDefaultvalue("1")@CodegenInvalidValue("0")
private Integer groupId;
/** comments:姓名 */
@ApiModelProperty(value = "姓名" ,required=true ,dataType="String")
@CodegenLength(max=32,prealloc=true)@CodegenRequired@CodegenInvalidValue
private String name;
/** comments:性别,0:女,1:男,其他:未定义 */
@ApiModelProperty(value = "性别,0:女,1:男,其他:未定义" ,dataType="Integer")
@CodegenInvalidValue("-1")
private Integer sex;
/** comments:用户级别,NULL,0:普通用户,2:操作员,3:管理员,其他:未定义 */
@ApiModelProperty(value = "用户级别,NULL,0:普通用户,2:操作员,3:管理员,其他:未定义" ,dataType="Integer")
@CodegenInvalidValue("-1")
private Integer rank;
/** comments:用户密码,MD5 */
@ApiModelProperty(value = "用户密码,MD5" ,dataType="String")
@CodegenLength(value=32,prealloc=true)@CodegenInvalidValue
private String password;
/** comments:出生日期 */
@ApiModelProperty(value = "出生日期" ,dataType="Date")
@CodegenInvalidValue("0")
private java.util.Date birthdate;
/** comments:手机号码 */
@ApiModelProperty(value = "手机号码" ,dataType="String")
@CodegenLength(value=11,prealloc=true)@CodegenInvalidValue
private String mobilePhone;
/** comments:证件类型,0:未知,1:身份证,2:护照,3:台胞证,4:港澳通行证,5:军官证,6:外国人居留证,7:员工卡,8:其他 */
@ApiModelProperty(value = "证件类型,0:未知,1:身份证,2:护照,3:台胞证,4:港澳通行证,5:军官证,6:外国人居留证,7:员工卡,8:其他" ,dataType="Integer")
@CodegenInvalidValue("-1")
private Integer papersType;
/** comments:证件号码 */
@ApiModelProperty(value = "证件号码" ,dataType="String")
@CodegenLength(max=32,prealloc=true)@CodegenInvalidValue
private String papersNum;
/** comments:用户默认照片(证件照,标准照)的md5校验码,外键 */
@ApiModelProperty(value = "用户默认照片(证件照,标准照)的md5校验码,外键" ,dataType="String")
@CodegenLength(value=32,prealloc=true)@CodegenInvalidValue
private String imageMd5;
/** comments:验证有效期限(超过期限不能通过验证),为NULL永久有效 */
@ApiModelProperty(value = "验证有效期限(超过期限不能通过验证),为NULL永久有效" ,dataType="Date")
@CodegenDefaultvalue("2050-12-31")@CodegenInvalidValue("0")
private java.util.Date expiryDate;
/** comments:帐户激活日期,为NULL时,create_time字段即为激活日期 */
@ApiModelProperty(value = "帐户激活日期,为NULL时,create_time字段即为激活日期" ,dataType="Date")
@CodegenInvalidValue("0")
private java.util.Date activatedDate;
/** comments:备注 */
@ApiModelProperty(value = "备注" ,dataType="String")
@CodegenLength(max=256)@CodegenInvalidValue
private String remark;
/** comments:应用项目自定义二进制扩展字段(最大64KB) */
@ApiModelProperty(value = "应用项目自定义二进制扩展字段(最大64KB)" ,dataType="ByteBuffer")
@CodegenLength(max=65535)@CodegenInvalidValue
private java.nio.ByteBuffer extBin;
/** comments:应用项目自定义文本扩展字段(最大64KB) */
@ApiModelProperty(value = "应用项目自定义文本扩展字段(最大64KB)" ,dataType="String")
@CodegenLength(max=65535)@CodegenInvalidValue
private String extTxt;
@ApiModelProperty(value = "create_time" ,dataType="Date")
@CodegenInvalidValue("0")
private java.util.Date createTime;
@ApiModelProperty(value = "update_time" ,dataType="Date")
@CodegenInvalidValue("0")
private java.util.Date updateTime;
/** columns modified flag */
@ApiModelProperty(value="columns modified flag",dataType="int",required=true)
private int modified;
/** columns initialized flag */
@ApiModelProperty(value="columns initialized flag",dataType="int",required=true)
private int initialized;
/** new record flag */
@ApiModelProperty(value="new record flag",dataType="boolean",required=true)
private boolean isNew;
@ThriftField(value=1,name="_new",requiredness=Requiredness.REQUIRED)
@Override
public boolean isNew()
{
return this.isNew;
}
/**
* Specifies to the object if it has been set as new.
*
* @param isNew the boolean value to be assigned to the isNew field
*/
@ThriftField()
@Override
public void setNew(boolean isNew)
{
this.isNew = isNew;
}
/**
* @return the modified status of columns
*/
@ThriftField(value=2,requiredness=Requiredness.REQUIRED)
@Override
public int getModified(){
return modified;
}
/**
* @param modified the modified status bit to be assigned to {@link #modified}
*/
@ThriftField()
@Override
public void setModified(int modified){
this.modified = modified;
}
/**
* @return the initialized status of columns
*/
@ThriftField(value=3,requiredness=Requiredness.REQUIRED)
@Override
public int getInitialized(){
return initialized;
}
/**
* @param initialized the initialized status bit to be assigned to {@link #initialized}
*/
@ThriftField()
@Override
public void setInitialized(int initialized){
this.initialized = initialized;
}
public PersonBean(){
reset();
}
/**
* construct a new instance filled with primary keys
* @param id PK# 1
*/
public PersonBean(Integer id){
setId(id);
}
/**
* Getter method for {@link #id}.
* PRIMARY KEY.
* Meta Data Information (in progress):
*
* - full name: fl_person.id
* - imported key: fl_log.person_id
* - imported key: fl_error_log.person_id
* - imported key: fl_feature.person_id
* - comments: 用户id
* - AUTO_INCREMENT
* - NOT NULL
* - column size: 10
* - JDBC type returned by the driver: Types.INTEGER
*
*
* @return the value of id
*/
@ThriftField(value=4)
@JsonProperty("id")
public Integer getId(){
return id;
}
/**
* Setter method for {@link #id}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to id
*/
@ThriftField(name="id")
@JsonProperty("id")
public void setId(Integer newVal)
{
modified |= FL_PERSON_ID_ID_MASK;
initialized |= FL_PERSON_ID_ID_MASK;
if (Objects.equals(newVal, id)) {
return;
}
id = newVal;
}
/**
* Setter method for {@link #id}.
* Convenient for those who do not want to deal with Objects for primary types.
*
* @param newVal the new value to be assigned to id
*/
@JsonIgnore
public void setId(int newVal)
{
setId(new Integer(newVal));
}
/**
* Determines if the id has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkIdModified()
{
return 0 != (modified & FL_PERSON_ID_ID_MASK);
}
/**
* Determines if the id has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkIdInitialized()
{
return 0 != (initialized & FL_PERSON_ID_ID_MASK);
}
/**
* Getter method for {@link #groupId}.
* Meta Data Information (in progress):
*
* - full name: fl_person.group_id
* - foreign key: fl_person_group.id
* - comments: 所属用户组id
* - default value: '1'
* - column size: 10
* - JDBC type returned by the driver: Types.INTEGER
*
*
* @return the value of groupId
*/
@ThriftField(value=5)
@JsonProperty("groupId")
public Integer getGroupId(){
return groupId;
}
/**
* Setter method for {@link #groupId}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to groupId
*/
@ThriftField(name="groupId")
@JsonProperty("groupId")
public void setGroupId(Integer newVal)
{
modified |= FL_PERSON_ID_GROUP_ID_MASK;
initialized |= FL_PERSON_ID_GROUP_ID_MASK;
if (Objects.equals(newVal, groupId)) {
return;
}
groupId = newVal;
}
/**
* Setter method for {@link #groupId}.
* Convenient for those who do not want to deal with Objects for primary types.
*
* @param newVal the new value to be assigned to groupId
*/
@JsonIgnore
public void setGroupId(int newVal)
{
setGroupId(new Integer(newVal));
}
/**
* Determines if the groupId has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkGroupIdModified()
{
return 0 != (modified & FL_PERSON_ID_GROUP_ID_MASK);
}
/**
* Determines if the groupId has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkGroupIdInitialized()
{
return 0 != (initialized & FL_PERSON_ID_GROUP_ID_MASK);
}
/**
* Getter method for {@link #name}.
* Meta Data Information (in progress):
*
* - full name: fl_person.name
* - comments: 姓名
* - NOT NULL
* - column size: 32
* - JDBC type returned by the driver: Types.VARCHAR
*
*
* @return the value of name
*/
@ThriftField(value=6)
@JsonProperty("name")
public String getName(){
return name;
}
/**
* Setter method for {@link #name}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value( NOT NULL) to be assigned to name
*/
@ThriftField(name="name")
@JsonProperty("name")
public void setName(String newVal)
{
modified |= FL_PERSON_ID_NAME_MASK;
initialized |= FL_PERSON_ID_NAME_MASK;
if (Objects.equals(newVal, name)) {
return;
}
name = newVal;
}
/**
* Determines if the name has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkNameModified()
{
return 0 != (modified & FL_PERSON_ID_NAME_MASK);
}
/**
* Determines if the name has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkNameInitialized()
{
return 0 != (initialized & FL_PERSON_ID_NAME_MASK);
}
/**
* Getter method for {@link #sex}.
* Meta Data Information (in progress):
*
* - full name: fl_person.sex
* - comments: 性别,0:女,1:男,其他:未定义
* - column size: 3
* - JDBC type returned by the driver: Types.TINYINT
*
*
* @return the value of sex
*/
@ThriftField(value=7)
@JsonProperty("sex")
public Integer getSex(){
return sex;
}
/**
* Setter method for {@link #sex}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to sex
*/
@ThriftField(name="sex")
@JsonProperty("sex")
public void setSex(Integer newVal)
{
modified |= FL_PERSON_ID_SEX_MASK;
initialized |= FL_PERSON_ID_SEX_MASK;
if (Objects.equals(newVal, sex)) {
return;
}
sex = newVal;
}
/**
* Setter method for {@link #sex}.
* Convenient for those who do not want to deal with Objects for primary types.
*
* @param newVal the new value to be assigned to sex
*/
@JsonIgnore
public void setSex(int newVal)
{
setSex(new Integer(newVal));
}
/**
* Determines if the sex has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkSexModified()
{
return 0 != (modified & FL_PERSON_ID_SEX_MASK);
}
/**
* Determines if the sex has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkSexInitialized()
{
return 0 != (initialized & FL_PERSON_ID_SEX_MASK);
}
/**
* Getter method for {@link #rank}.
* Meta Data Information (in progress):
*
* - full name: fl_person.rank
* - comments: 用户级别,NULL,0:普通用户,2:操作员,3:管理员,其他:未定义
* - column size: 3
* - JDBC type returned by the driver: Types.TINYINT
*
*
* @return the value of rank
*/
@ThriftField(value=8)
@JsonProperty("rank")
public Integer getRank(){
return rank;
}
/**
* Setter method for {@link #rank}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to rank
*/
@ThriftField(name="rank")
@JsonProperty("rank")
public void setRank(Integer newVal)
{
modified |= FL_PERSON_ID_RANK_MASK;
initialized |= FL_PERSON_ID_RANK_MASK;
if (Objects.equals(newVal, rank)) {
return;
}
rank = newVal;
}
/**
* Setter method for {@link #rank}.
* Convenient for those who do not want to deal with Objects for primary types.
*
* @param newVal the new value to be assigned to rank
*/
@JsonIgnore
public void setRank(int newVal)
{
setRank(new Integer(newVal));
}
/**
* Determines if the rank has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkRankModified()
{
return 0 != (modified & FL_PERSON_ID_RANK_MASK);
}
/**
* Determines if the rank has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkRankInitialized()
{
return 0 != (initialized & FL_PERSON_ID_RANK_MASK);
}
/**
* Getter method for {@link #password}.
* Meta Data Information (in progress):
*
* - full name: fl_person.password
* - comments: 用户密码,MD5
* - column size: 32
* - JDBC type returned by the driver: Types.CHAR
*
*
* @return the value of password
*/
@ThriftField(value=9)
@JsonProperty("password")
public String getPassword(){
return password;
}
/**
* Setter method for {@link #password}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to password
*/
@ThriftField(name="password")
@JsonProperty("password")
public void setPassword(String newVal)
{
modified |= FL_PERSON_ID_PASSWORD_MASK;
initialized |= FL_PERSON_ID_PASSWORD_MASK;
if (Objects.equals(newVal, password)) {
return;
}
password = newVal;
}
/**
* Determines if the password has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkPasswordModified()
{
return 0 != (modified & FL_PERSON_ID_PASSWORD_MASK);
}
/**
* Determines if the password has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkPasswordInitialized()
{
return 0 != (initialized & FL_PERSON_ID_PASSWORD_MASK);
}
/**
* Getter method for {@link #birthdate}.
* Meta Data Information (in progress):
*
* - full name: fl_person.birthdate
* - comments: 出生日期
* - column size: 10
* - JDBC type returned by the driver: Types.DATE
*
*
* @return the value of birthdate
*/
@JsonIgnore
public java.util.Date getBirthdate(){
return birthdate;
}
/**
* use Long to represent date type for thrift:swift support
* @see #getBirthdate()
*/
@ThriftField(value=10,name="birthdate")
@JsonProperty("birthdate")
public Long readBirthdate(){
return null == birthdate ? null:birthdate.getTime();
}
/**
* Setter method for {@link #birthdate}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to birthdate
*/
@JsonIgnore
public void setBirthdate(java.util.Date newVal)
{
modified |= FL_PERSON_ID_BIRTHDATE_MASK;
initialized |= FL_PERSON_ID_BIRTHDATE_MASK;
if (Objects.equals(newVal, birthdate)) {
return;
}
birthdate = newVal;
}
/**
* setter for thrift:swift OR jackson support
* without modification for {@link #modified} and {@link #initialized}
* NOTE:DO NOT use the method in your code
*/
@ThriftField(name="birthdate")
@JsonProperty("birthdate")
public void writeBirthdate(Long newVal){
setBirthdate(null == newVal?null:new java.util.Date(newVal));
}
/**
* Setter method for {@link #birthdate}.
* Convenient for those who do not want to deal with Objects for primary types.
*
* @param newVal the new value to be assigned to birthdate
*/
@JsonIgnore
public void setBirthdate(long newVal)
{
setBirthdate(new java.util.Date(newVal));
}
/**
* Setter method for {@link #birthdate}.
* @param newVal the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Date object.
*/
@JsonIgnore
public void setBirthdate(Long newVal)
{
setBirthdate(null == newVal ? null : new java.util.Date(newVal));
}
/**
* Determines if the birthdate has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkBirthdateModified()
{
return 0 != (modified & FL_PERSON_ID_BIRTHDATE_MASK);
}
/**
* Determines if the birthdate has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkBirthdateInitialized()
{
return 0 != (initialized & FL_PERSON_ID_BIRTHDATE_MASK);
}
/**
* Getter method for {@link #mobilePhone}.
* Meta Data Information (in progress):
*
* - full name: fl_person.mobile_phone
* - comments: 手机号码
* - column size: 11
* - JDBC type returned by the driver: Types.CHAR
*
*
* @return the value of mobilePhone
*/
@ThriftField(value=11)
@JsonProperty("mobilePhone")
public String getMobilePhone(){
return mobilePhone;
}
/**
* Setter method for {@link #mobilePhone}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to mobilePhone
*/
@ThriftField(name="mobilePhone")
@JsonProperty("mobilePhone")
public void setMobilePhone(String newVal)
{
modified |= FL_PERSON_ID_MOBILE_PHONE_MASK;
initialized |= FL_PERSON_ID_MOBILE_PHONE_MASK;
if (Objects.equals(newVal, mobilePhone)) {
return;
}
mobilePhone = newVal;
}
/**
* Determines if the mobilePhone has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkMobilePhoneModified()
{
return 0 != (modified & FL_PERSON_ID_MOBILE_PHONE_MASK);
}
/**
* Determines if the mobilePhone has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkMobilePhoneInitialized()
{
return 0 != (initialized & FL_PERSON_ID_MOBILE_PHONE_MASK);
}
/**
* Getter method for {@link #papersType}.
* Meta Data Information (in progress):
*
* - full name: fl_person.papers_type
* - comments: 证件类型,0:未知,1:身份证,2:护照,3:台胞证,4:港澳通行证,5:军官证,6:外国人居留证,7:员工卡,8:其他
* - column size: 3
* - JDBC type returned by the driver: Types.TINYINT
*
*
* @return the value of papersType
*/
@ThriftField(value=12)
@JsonProperty("papersType")
public Integer getPapersType(){
return papersType;
}
/**
* Setter method for {@link #papersType}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to papersType
*/
@ThriftField(name="papersType")
@JsonProperty("papersType")
public void setPapersType(Integer newVal)
{
modified |= FL_PERSON_ID_PAPERS_TYPE_MASK;
initialized |= FL_PERSON_ID_PAPERS_TYPE_MASK;
if (Objects.equals(newVal, papersType)) {
return;
}
papersType = newVal;
}
/**
* Setter method for {@link #papersType}.
* Convenient for those who do not want to deal with Objects for primary types.
*
* @param newVal the new value to be assigned to papersType
*/
@JsonIgnore
public void setPapersType(int newVal)
{
setPapersType(new Integer(newVal));
}
/**
* Determines if the papersType has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkPapersTypeModified()
{
return 0 != (modified & FL_PERSON_ID_PAPERS_TYPE_MASK);
}
/**
* Determines if the papersType has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkPapersTypeInitialized()
{
return 0 != (initialized & FL_PERSON_ID_PAPERS_TYPE_MASK);
}
/**
* Getter method for {@link #papersNum}.
* Meta Data Information (in progress):
*
* - full name: fl_person.papers_num
* - comments: 证件号码
* - column size: 32
* - JDBC type returned by the driver: Types.VARCHAR
*
*
* @return the value of papersNum
*/
@ThriftField(value=13)
@JsonProperty("papersNum")
public String getPapersNum(){
return papersNum;
}
/**
* Setter method for {@link #papersNum}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to papersNum
*/
@ThriftField(name="papersNum")
@JsonProperty("papersNum")
public void setPapersNum(String newVal)
{
modified |= FL_PERSON_ID_PAPERS_NUM_MASK;
initialized |= FL_PERSON_ID_PAPERS_NUM_MASK;
if (Objects.equals(newVal, papersNum)) {
return;
}
papersNum = newVal;
}
/**
* Determines if the papersNum has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkPapersNumModified()
{
return 0 != (modified & FL_PERSON_ID_PAPERS_NUM_MASK);
}
/**
* Determines if the papersNum has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkPapersNumInitialized()
{
return 0 != (initialized & FL_PERSON_ID_PAPERS_NUM_MASK);
}
/**
* Getter method for {@link #imageMd5}.
* Meta Data Information (in progress):
*
* - full name: fl_person.image_md5
* - foreign key: fl_image.md5
* - comments: 用户默认照片(证件照,标准照)的md5校验码,外键
* - column size: 32
* - JDBC type returned by the driver: Types.CHAR
*
*
* @return the value of imageMd5
*/
@ThriftField(value=14)
@JsonProperty("imageMd5")
public String getImageMd5(){
return imageMd5;
}
/**
* Setter method for {@link #imageMd5}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to imageMd5
*/
@ThriftField(name="imageMd5")
@JsonProperty("imageMd5")
public void setImageMd5(String newVal)
{
modified |= FL_PERSON_ID_IMAGE_MD5_MASK;
initialized |= FL_PERSON_ID_IMAGE_MD5_MASK;
if (Objects.equals(newVal, imageMd5)) {
return;
}
imageMd5 = newVal;
}
/**
* Determines if the imageMd5 has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkImageMd5Modified()
{
return 0 != (modified & FL_PERSON_ID_IMAGE_MD5_MASK);
}
/**
* Determines if the imageMd5 has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkImageMd5Initialized()
{
return 0 != (initialized & FL_PERSON_ID_IMAGE_MD5_MASK);
}
/**
* Getter method for {@link #expiryDate}.
* Meta Data Information (in progress):
*
* - full name: fl_person.expiry_date
* - comments: 验证有效期限(超过期限不能通过验证),为NULL永久有效
* - default value: '2050-12-31'
* - column size: 10
* - JDBC type returned by the driver: Types.DATE
*
*
* @return the value of expiryDate
*/
@JsonIgnore
public java.util.Date getExpiryDate(){
return expiryDate;
}
/**
* use Long to represent date type for thrift:swift support
* @see #getExpiryDate()
*/
@ThriftField(value=15,name="expiryDate")
@JsonProperty("expiryDate")
public Long readExpiryDate(){
return null == expiryDate ? null:expiryDate.getTime();
}
/**
* Setter method for {@link #expiryDate}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to expiryDate
*/
@JsonIgnore
public void setExpiryDate(java.util.Date newVal)
{
modified |= FL_PERSON_ID_EXPIRY_DATE_MASK;
initialized |= FL_PERSON_ID_EXPIRY_DATE_MASK;
if (Objects.equals(newVal, expiryDate)) {
return;
}
expiryDate = newVal;
}
/**
* setter for thrift:swift OR jackson support
* without modification for {@link #modified} and {@link #initialized}
* NOTE:DO NOT use the method in your code
*/
@ThriftField(name="expiryDate")
@JsonProperty("expiryDate")
public void writeExpiryDate(Long newVal){
setExpiryDate(null == newVal?null:new java.util.Date(newVal));
}
/**
* Setter method for {@link #expiryDate}.
* Convenient for those who do not want to deal with Objects for primary types.
*
* @param newVal the new value to be assigned to expiryDate
*/
@JsonIgnore
public void setExpiryDate(long newVal)
{
setExpiryDate(new java.util.Date(newVal));
}
/**
* Setter method for {@link #expiryDate}.
* @param newVal the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Date object.
*/
@JsonIgnore
public void setExpiryDate(Long newVal)
{
setExpiryDate(null == newVal ? null : new java.util.Date(newVal));
}
/**
* Determines if the expiryDate has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkExpiryDateModified()
{
return 0 != (modified & FL_PERSON_ID_EXPIRY_DATE_MASK);
}
/**
* Determines if the expiryDate has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkExpiryDateInitialized()
{
return 0 != (initialized & FL_PERSON_ID_EXPIRY_DATE_MASK);
}
/**
* Getter method for {@link #activatedDate}.
* Meta Data Information (in progress):
*
* - full name: fl_person.activated_date
* - comments: 帐户激活日期,为NULL时,create_time字段即为激活日期
* - column size: 10
* - JDBC type returned by the driver: Types.DATE
*
*
* @return the value of activatedDate
*/
@JsonIgnore
public java.util.Date getActivatedDate(){
return activatedDate;
}
/**
* use Long to represent date type for thrift:swift support
* @see #getActivatedDate()
*/
@ThriftField(value=16,name="activatedDate")
@JsonProperty("activatedDate")
public Long readActivatedDate(){
return null == activatedDate ? null:activatedDate.getTime();
}
/**
* Setter method for {@link #activatedDate}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to activatedDate
*/
@JsonIgnore
public void setActivatedDate(java.util.Date newVal)
{
modified |= FL_PERSON_ID_ACTIVATED_DATE_MASK;
initialized |= FL_PERSON_ID_ACTIVATED_DATE_MASK;
if (Objects.equals(newVal, activatedDate)) {
return;
}
activatedDate = newVal;
}
/**
* setter for thrift:swift OR jackson support
* without modification for {@link #modified} and {@link #initialized}
* NOTE:DO NOT use the method in your code
*/
@ThriftField(name="activatedDate")
@JsonProperty("activatedDate")
public void writeActivatedDate(Long newVal){
setActivatedDate(null == newVal?null:new java.util.Date(newVal));
}
/**
* Setter method for {@link #activatedDate}.
* Convenient for those who do not want to deal with Objects for primary types.
*
* @param newVal the new value to be assigned to activatedDate
*/
@JsonIgnore
public void setActivatedDate(long newVal)
{
setActivatedDate(new java.util.Date(newVal));
}
/**
* Setter method for {@link #activatedDate}.
* @param newVal the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Date object.
*/
@JsonIgnore
public void setActivatedDate(Long newVal)
{
setActivatedDate(null == newVal ? null : new java.util.Date(newVal));
}
/**
* Determines if the activatedDate has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkActivatedDateModified()
{
return 0 != (modified & FL_PERSON_ID_ACTIVATED_DATE_MASK);
}
/**
* Determines if the activatedDate has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkActivatedDateInitialized()
{
return 0 != (initialized & FL_PERSON_ID_ACTIVATED_DATE_MASK);
}
/**
* Getter method for {@link #remark}.
* Meta Data Information (in progress):
*
* - full name: fl_person.remark
* - comments: 备注
* - column size: 256
* - JDBC type returned by the driver: Types.VARCHAR
*
*
* @return the value of remark
*/
@ThriftField(value=17)
@JsonProperty("remark")
public String getRemark(){
return remark;
}
/**
* Setter method for {@link #remark}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to remark
*/
@ThriftField(name="remark")
@JsonProperty("remark")
public void setRemark(String newVal)
{
modified |= FL_PERSON_ID_REMARK_MASK;
initialized |= FL_PERSON_ID_REMARK_MASK;
if (Objects.equals(newVal, remark)) {
return;
}
remark = newVal;
}
/**
* Determines if the remark has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkRemarkModified()
{
return 0 != (modified & FL_PERSON_ID_REMARK_MASK);
}
/**
* Determines if the remark has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkRemarkInitialized()
{
return 0 != (initialized & FL_PERSON_ID_REMARK_MASK);
}
/**
* Getter method for {@link #extBin}.
* Meta Data Information (in progress):
*
* - full name: fl_person.ext_bin
* - comments: 应用项目自定义二进制扩展字段(最大64KB)
* - column size: 65535
* - JDBC type returned by the driver: Types.LONGVARBINARY
*
*
* @return the value of extBin
*/
@ThriftField(value=18)
@JsonProperty("extBin")
public java.nio.ByteBuffer getExtBin(){
return extBin;
}
/**
* Setter method for {@link #extBin}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to extBin
*/
@ThriftField(name="extBin")
@JsonProperty("extBin")
public void setExtBin(java.nio.ByteBuffer newVal)
{
modified |= FL_PERSON_ID_EXT_BIN_MASK;
initialized |= FL_PERSON_ID_EXT_BIN_MASK;
if (Objects.equals(newVal, extBin)) {
return;
}
extBin = newVal;
}
/**
* Determines if the extBin has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkExtBinModified()
{
return 0 != (modified & FL_PERSON_ID_EXT_BIN_MASK);
}
/**
* Determines if the extBin has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkExtBinInitialized()
{
return 0 != (initialized & FL_PERSON_ID_EXT_BIN_MASK);
}
/**
* Getter method for {@link #extTxt}.
* Meta Data Information (in progress):
*
* - full name: fl_person.ext_txt
* - comments: 应用项目自定义文本扩展字段(最大64KB)
* - column size: 65535
* - JDBC type returned by the driver: Types.LONGVARCHAR
*
*
* @return the value of extTxt
*/
@ThriftField(value=19)
@JsonProperty("extTxt")
public String getExtTxt(){
return extTxt;
}
/**
* Setter method for {@link #extTxt}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value to be assigned to extTxt
*/
@ThriftField(name="extTxt")
@JsonProperty("extTxt")
public void setExtTxt(String newVal)
{
modified |= FL_PERSON_ID_EXT_TXT_MASK;
initialized |= FL_PERSON_ID_EXT_TXT_MASK;
if (Objects.equals(newVal, extTxt)) {
return;
}
extTxt = newVal;
}
/**
* Determines if the extTxt has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkExtTxtModified()
{
return 0 != (modified & FL_PERSON_ID_EXT_TXT_MASK);
}
/**
* Determines if the extTxt has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkExtTxtInitialized()
{
return 0 != (initialized & FL_PERSON_ID_EXT_TXT_MASK);
}
/**
* Getter method for {@link #createTime}.
* Meta Data Information (in progress):
*
* - full name: fl_person.create_time
* - default value: 'CURRENT_TIMESTAMP'
* - NOT NULL
* - column size: 19
* - JDBC type returned by the driver: Types.TIMESTAMP
*
*
* @return the value of createTime
*/
@JsonIgnore
public java.util.Date getCreateTime(){
return createTime;
}
/**
* use Long to represent date type for thrift:swift support
* @see #getCreateTime()
*/
@ThriftField(value=20,name="createTime")
@JsonProperty("createTime")
public Long readCreateTime(){
return null == createTime ? null:createTime.getTime();
}
/**
* Setter method for {@link #createTime}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value( NOT NULL) to be assigned to createTime
*/
@JsonIgnore
public void setCreateTime(java.util.Date newVal)
{
modified |= FL_PERSON_ID_CREATE_TIME_MASK;
initialized |= FL_PERSON_ID_CREATE_TIME_MASK;
if (Objects.equals(newVal, createTime)) {
return;
}
createTime = newVal;
}
/**
* setter for thrift:swift OR jackson support
* without modification for {@link #modified} and {@link #initialized}
* NOTE:DO NOT use the method in your code
*/
@ThriftField(name="createTime")
@JsonProperty("createTime")
public void writeCreateTime(Long newVal){
setCreateTime(null == newVal?null:new java.util.Date(newVal));
}
/**
* Setter method for {@link #createTime}.
* Convenient for those who do not want to deal with Objects for primary types.
*
* @param newVal the new value to be assigned to createTime
*/
@JsonIgnore
public void setCreateTime(long newVal)
{
setCreateTime(new java.util.Date(newVal));
}
/**
* Setter method for {@link #createTime}.
* @param newVal the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Date object.
*/
@JsonIgnore
public void setCreateTime(Long newVal)
{
setCreateTime(null == newVal ? null : new java.util.Date(newVal));
}
/**
* Determines if the createTime has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkCreateTimeModified()
{
return 0 != (modified & FL_PERSON_ID_CREATE_TIME_MASK);
}
/**
* Determines if the createTime has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkCreateTimeInitialized()
{
return 0 != (initialized & FL_PERSON_ID_CREATE_TIME_MASK);
}
/**
* Getter method for {@link #updateTime}.
* Meta Data Information (in progress):
*
* - full name: fl_person.update_time
* - default value: 'CURRENT_TIMESTAMP'
* - NOT NULL
* - column size: 19
* - JDBC type returned by the driver: Types.TIMESTAMP
*
*
* @return the value of updateTime
*/
@JsonIgnore
public java.util.Date getUpdateTime(){
return updateTime;
}
/**
* use Long to represent date type for thrift:swift support
* @see #getUpdateTime()
*/
@ThriftField(value=21,name="updateTime")
@JsonProperty("updateTime")
public Long readUpdateTime(){
return null == updateTime ? null:updateTime.getTime();
}
/**
* Setter method for {@link #updateTime}.
* The new value is set only if equals() says it is different,
* or if one of either the new value or the current value is null.
* In case the new value is different, it is set and the field is marked as 'modified'.
*
* @param newVal the new value( NOT NULL) to be assigned to updateTime
*/
@JsonIgnore
public void setUpdateTime(java.util.Date newVal)
{
modified |= FL_PERSON_ID_UPDATE_TIME_MASK;
initialized |= FL_PERSON_ID_UPDATE_TIME_MASK;
if (Objects.equals(newVal, updateTime)) {
return;
}
updateTime = newVal;
}
/**
* setter for thrift:swift OR jackson support
* without modification for {@link #modified} and {@link #initialized}
* NOTE:DO NOT use the method in your code
*/
@ThriftField(name="updateTime")
@JsonProperty("updateTime")
public void writeUpdateTime(Long newVal){
setUpdateTime(null == newVal?null:new java.util.Date(newVal));
}
/**
* Setter method for {@link #updateTime}.
* Convenient for those who do not want to deal with Objects for primary types.
*
* @param newVal the new value to be assigned to updateTime
*/
@JsonIgnore
public void setUpdateTime(long newVal)
{
setUpdateTime(new java.util.Date(newVal));
}
/**
* Setter method for {@link #updateTime}.
* @param newVal the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Date object.
*/
@JsonIgnore
public void setUpdateTime(Long newVal)
{
setUpdateTime(null == newVal ? null : new java.util.Date(newVal));
}
/**
* Determines if the updateTime has been modified.
*
* @return true if the field has been modified, false if the field has not been modified
*/
public boolean checkUpdateTimeModified()
{
return 0 != (modified & FL_PERSON_ID_UPDATE_TIME_MASK);
}
/**
* Determines if the updateTime has been initialized.
*
* It is useful to determine if a field is null on purpose or just because it has not been initialized.
*
* @return true if the field has been initialized, false otherwise
*/
public boolean checkUpdateTimeInitialized()
{
return 0 != (initialized & FL_PERSON_ID_UPDATE_TIME_MASK);
}
@Override
public boolean beModified()
{
return 0 != modified;
}
@Override
public boolean isModified(int columnID){
return columnID>=0 && columnID < metaData.columnCount && 0 != (modified & (1 << columnID));
}
@Override
public boolean isInitialized(int columnID){
return columnID>=0 && columnID < metaData.columnCount && 0 != (initialized & (1 << columnID));
}
@Override
public void resetIsModified()
{
modified = 0;
}
@Override
public void resetPrimaryKeysModified()
{
modified &= (~(FL_PERSON_ID_ID_MASK));
}
/**
* Resets columns modification status except primary keys to 'not modified'.
*/
public void resetModifiedExceptPrimaryKeys()
{
modified &= (~(FL_PERSON_ID_GROUP_ID_MASK |
FL_PERSON_ID_NAME_MASK |
FL_PERSON_ID_SEX_MASK |
FL_PERSON_ID_RANK_MASK |
FL_PERSON_ID_PASSWORD_MASK |
FL_PERSON_ID_BIRTHDATE_MASK |
FL_PERSON_ID_MOBILE_PHONE_MASK |
FL_PERSON_ID_PAPERS_TYPE_MASK |
FL_PERSON_ID_PAPERS_NUM_MASK |
FL_PERSON_ID_IMAGE_MD5_MASK |
FL_PERSON_ID_EXPIRY_DATE_MASK |
FL_PERSON_ID_ACTIVATED_DATE_MASK |
FL_PERSON_ID_REMARK_MASK |
FL_PERSON_ID_EXT_BIN_MASK |
FL_PERSON_ID_EXT_TXT_MASK |
FL_PERSON_ID_CREATE_TIME_MASK |
FL_PERSON_ID_UPDATE_TIME_MASK));
}
/** reset all fields to initial value, equal to a new bean */
public void reset(){
this.id = null;
/* DEFAULT:'1'*/
this.groupId = new Integer(1);
this.name = null;
this.sex = null;
this.rank = null;
this.password = null;
this.birthdate = null;
this.mobilePhone = null;
this.papersType = null;
this.papersNum = null;
this.imageMd5 = null;
/* DEFAULT:'2050-12-31'*/
this.expiryDate = new java.text.SimpleDateFormat("yyyy-MM-dd").parse("2050-12-31",new java.text.ParsePosition(0));
this.activatedDate = null;
this.remark = null;
this.extBin = null;
this.extTxt = null;
/* DEFAULT:'CURRENT_TIMESTAMP'*/
this.createTime = null;
/* DEFAULT:'CURRENT_TIMESTAMP'*/
this.updateTime = null;
this.isNew = true;
this.modified = 0;
this.initialized = (FL_PERSON_ID_GROUP_ID_MASK | FL_PERSON_ID_EXPIRY_DATE_MASK);
}
@Override
public PersonBean clone(){
return (PersonBean) super.clone();
}
public static final Builder builder(){
return new Builder().reset();
}
/**
* a builder for PersonBean,the template instance is thread local variable
* a instance of Builder can be reused.
*/
public static final class Builder{
/** PersonBean instance used for template to create new PersonBean instance. */
static final ThreadLocal TEMPLATE = new ThreadLocal(){
@Override
protected PersonBean initialValue() {
return new PersonBean();
}};
private Builder() {}
/**
* reset the bean as template
* @see PersonBean#reset()
*/
public Builder reset(){
TEMPLATE.get().reset();
return this;
}
/** set a bean as template,must not be {@code null} */
public Builder template(PersonBean bean){
if(null == bean){
throw new NullPointerException();
}
TEMPLATE.set(bean);
return this;
}
/** return a clone instance of {@link #TEMPLATE}*/
public PersonBean build(){
return TEMPLATE.get().clone();
}
/**
* fill the field : fl_person.id
* @param id 用户id
* @see PersonBean#getId()
* @see PersonBean#setId(Integer)
*/
public Builder id(Integer id){
TEMPLATE.get().setId(id);
return this;
}
/**
* fill the field : fl_person.group_id
* @param groupId 所属用户组id
* @see PersonBean#getGroupId()
* @see PersonBean#setGroupId(Integer)
*/
public Builder groupId(Integer groupId){
TEMPLATE.get().setGroupId(groupId);
return this;
}
/**
* fill the field : fl_person.name
* @param name 姓名
* @see PersonBean#getName()
* @see PersonBean#setName(String)
*/
public Builder name(String name){
TEMPLATE.get().setName(name);
return this;
}
/**
* fill the field : fl_person.sex
* @param sex 性别,0:女,1:男,其他:未定义
* @see PersonBean#getSex()
* @see PersonBean#setSex(Integer)
*/
public Builder sex(Integer sex){
TEMPLATE.get().setSex(sex);
return this;
}
/**
* fill the field : fl_person.rank
* @param rank 用户级别,NULL,0:普通用户,2:操作员,3:管理员,其他:未定义
* @see PersonBean#getRank()
* @see PersonBean#setRank(Integer)
*/
public Builder rank(Integer rank){
TEMPLATE.get().setRank(rank);
return this;
}
/**
* fill the field : fl_person.password
* @param password 用户密码,MD5
* @see PersonBean#getPassword()
* @see PersonBean#setPassword(String)
*/
public Builder password(String password){
TEMPLATE.get().setPassword(password);
return this;
}
/**
* fill the field : fl_person.birthdate
* @param birthdate 出生日期
* @see PersonBean#getBirthdate()
* @see PersonBean#setBirthdate(java.util.Date)
*/
public Builder birthdate(java.util.Date birthdate){
TEMPLATE.get().setBirthdate(birthdate);
return this;
}
/**
* fill the field : fl_person.mobile_phone
* @param mobilePhone 手机号码
* @see PersonBean#getMobilePhone()
* @see PersonBean#setMobilePhone(String)
*/
public Builder mobilePhone(String mobilePhone){
TEMPLATE.get().setMobilePhone(mobilePhone);
return this;
}
/**
* fill the field : fl_person.papers_type
* @param papersType 证件类型,0:未知,1:身份证,2:护照,3:台胞证,4:港澳通行证,5:军官证,6:外国人居留证,7:员工卡,8:其他
* @see PersonBean#getPapersType()
* @see PersonBean#setPapersType(Integer)
*/
public Builder papersType(Integer papersType){
TEMPLATE.get().setPapersType(papersType);
return this;
}
/**
* fill the field : fl_person.papers_num
* @param papersNum 证件号码
* @see PersonBean#getPapersNum()
* @see PersonBean#setPapersNum(String)
*/
public Builder papersNum(String papersNum){
TEMPLATE.get().setPapersNum(papersNum);
return this;
}
/**
* fill the field : fl_person.image_md5
* @param imageMd5 用户默认照片(证件照,标准照)的md5校验码,外键
* @see PersonBean#getImageMd5()
* @see PersonBean#setImageMd5(String)
*/
public Builder imageMd5(String imageMd5){
TEMPLATE.get().setImageMd5(imageMd5);
return this;
}
/**
* fill the field : fl_person.expiry_date
* @param expiryDate 验证有效期限(超过期限不能通过验证),为NULL永久有效
* @see PersonBean#getExpiryDate()
* @see PersonBean#setExpiryDate(java.util.Date)
*/
public Builder expiryDate(java.util.Date expiryDate){
TEMPLATE.get().setExpiryDate(expiryDate);
return this;
}
/**
* fill the field : fl_person.activated_date
* @param activatedDate 帐户激活日期,为NULL时,create_time字段即为激活日期
* @see PersonBean#getActivatedDate()
* @see PersonBean#setActivatedDate(java.util.Date)
*/
public Builder activatedDate(java.util.Date activatedDate){
TEMPLATE.get().setActivatedDate(activatedDate);
return this;
}
/**
* fill the field : fl_person.remark
* @param remark 备注
* @see PersonBean#getRemark()
* @see PersonBean#setRemark(String)
*/
public Builder remark(String remark){
TEMPLATE.get().setRemark(remark);
return this;
}
/**
* fill the field : fl_person.ext_bin
* @param extBin 应用项目自定义二进制扩展字段(最大64KB)
* @see PersonBean#getExtBin()
* @see PersonBean#setExtBin(java.nio.ByteBuffer)
*/
public Builder extBin(java.nio.ByteBuffer extBin){
TEMPLATE.get().setExtBin(extBin);
return this;
}
/**
* fill the field : fl_person.ext_txt
* @param extTxt 应用项目自定义文本扩展字段(最大64KB)
* @see PersonBean#getExtTxt()
* @see PersonBean#setExtTxt(String)
*/
public Builder extTxt(String extTxt){
TEMPLATE.get().setExtTxt(extTxt);
return this;
}
/**
* fill the field : fl_person.create_time
* @param createTime
* @see PersonBean#getCreateTime()
* @see PersonBean#setCreateTime(java.util.Date)
*/
public Builder createTime(java.util.Date createTime){
TEMPLATE.get().setCreateTime(createTime);
return this;
}
/**
* fill the field : fl_person.update_time
* @param updateTime
* @see PersonBean#getUpdateTime()
* @see PersonBean#setUpdateTime(java.util.Date)
*/
public Builder updateTime(java.util.Date updateTime){
TEMPLATE.get().setUpdateTime(updateTime);
return this;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy