package com.qxueyou.scc.org.model; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.NamedQuery; import javax.persistence.Table; import javax.persistence.Transient; import org.hibernate.annotations.GenericGenerator; import org.springframework.format.annotation.DateTimeFormat; import com.qxueyou.scc.base.model.ITrace; import com.fasterxml.jackson.annotation.JsonIgnore; /** * The persistent class for the org_class database table. * */ @Entity @Table(name="trans_bank_account") @NamedQuery(name="OrgBankAccount.findAll", query="SELECT o FROM OrgBankAccount o") public class OrgBankAccount implements Serializable,ITrace { private static final long serialVersionUID = 1L; @Id @GeneratedValue(generator = "hibernate-uuid") @GenericGenerator(name = "hibernate-uuid", strategy = "uuid") @Column(name="BANK_ACCOUNT_ID", unique=true, nullable=false, length=32) private String bankAccountId; @Column(name="BANK_NAME", length=50) private String bankName; @Column(name="ACCOUNT_NO", length=32) private String accountNo; @Column(name="ACCOUNT_NAME", length=50) private String accountName; /**账户类型**/ @Column(name="ACCOUNT_TYPE", length=2) private String accountType; @Column(name="DEPOSIT_BANK", length=32) private String depositBank; @Column(name="BANK_ID", length=32) private String bankId; @Column(name="CREATE_ID", nullable=false, length=32) @JsonIgnore private String createId; @Column(name="CREATE_TIME", nullable=false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonIgnore private Date createTime; @Column(name="CREATOR", nullable=false, length=100) @JsonIgnore private String creator; @Column(name="DELETE_FLAG", nullable=false) @JsonIgnore private boolean deleteFlag; @Column(name="UPDATE_ID", length=32) @JsonIgnore private String updateId; @Column(name="UPDATE_TIME", nullable=false) @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonIgnore private Date updateTime; @Column(name="UPDATOR", length=100) @JsonIgnore private String updator; @Column(name="DEFAULT_ACCOUNT", nullable=false) private boolean defaultAccount; /**银行预留手机号**/ @Column(name="MOBILE_PHONE", length=15) private String mobilePhone; /**身份证号**/ @Column(name="ID_NUMBER", length=30) private String idNumber; /** 验证码**/ @Transient private String validateCode; /** 银行图标**/ @Transient private String imgPath; public String getImgPath() { return imgPath; } public void setImgPath(String imgPath) { this.imgPath = imgPath; } public String getIdNumber() { return idNumber; } public void setIdNumber(String idNumber) { this.idNumber = idNumber; } public String getMobilePhone() { return mobilePhone; } public String getAccountType() { return accountType; } public void setAccountType(String accountType) { this.accountType = accountType; } public void setMobilePhone(String mobilePhone) { this.mobilePhone = mobilePhone; } public String getValidateCode() { return validateCode; } public void setValidateCode(String validateCode) { this.validateCode = validateCode; } public boolean getDefaultAccount() { return defaultAccount; } public void setDefaultAccount(boolean defaultAccount) { this.defaultAccount = defaultAccount; } public String getBankAccountId() { return bankAccountId; } public void setBankAccountId(String bankAccountId) { this.bankAccountId = bankAccountId; } public String getBankName() { return bankName; } public void setBankName(String bankName) { this.bankName = bankName; } public String getAccountNo() { return accountNo; } public void setAccountNo(String accountNo) { this.accountNo = accountNo; } public String getAccountName() { return accountName; } public void setAccountName(String accountName) { this.accountName = accountName; } public String getDepositBank() { return depositBank; } public void setDepositBank(String depositBank) { this.depositBank = depositBank; } public String getBankId() { return bankId; } public void setBankId(String bankId) { this.bankId = bankId; } public String getCreateId() { return this.createId; } public void setCreateId(String createId) { this.createId = createId; } public Date getCreateTime() { return this.createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public String getCreator() { return this.creator; } public void setCreator(String creator) { this.creator = creator; } public boolean getDeleteFlag() { return this.deleteFlag; } public void setDeleteFlag(boolean deleteFlag) { this.deleteFlag = deleteFlag; } public String getUpdateId() { return this.updateId; } public void setUpdateId(String updateId) { this.updateId = updateId; } public Date getUpdateTime() { return this.updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getUpdator() { return this.updator; } public void setUpdator(String updator) { this.updator = updator; } }