hz-zhhq-app-service/greenH5modul/.svn/pristine/8f/8fdb7127f4a59385cdd7f5e0b86...

292 lines
5.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.nationalelectric.greenH5.po;
//导入 java 类
import java.io.Serializable;
import java.util.*;
import org.apache.commons.lang.builder.EqualsBuilder;
/**
* GreenLicenseplateApproval的POJO类
*
* @author wjx
*/
public class GreenLicenseplateApproval implements Serializable{
/**
* 序列化
*/
private static final long serialVersionUID = 1L;
/**
* 属性id
*/
private Long id;
/**
* 属性eaccountId
*/
private Long eaccountId;
/**
* 属性licenseplate1Status
*/
private String licenseplate1Status = "0";
/**
* 属性licenseplate2Status
*/
private String licenseplate2Status = "0";
/**
* 属性licenseplate1
*/
private String licenseplate1;
/**
* 属性licenseplate2
*/
private String licenseplate2;
/**
* 属性gmtCreated
*/
private Date gmtCreated;
/**
* 属性gmtModified
*/
private Date gmtModified;
/**
* 属性modifier
*/
private String modifier;
/**
* 属性isDeleted
*/
private Character isDeleted = 'N';
/**
* GreenLicenseplateApproval构造函数
*/
public GreenLicenseplateApproval() {
super();
}
/**
* GreenLicenseplateApproval完整的构造函数
*/
public GreenLicenseplateApproval(Long id){
this.id = id;
}
/**
* 属性 id 的get方法
* @return Long
*/
public Long getId(){
return id;
}
/**
* 属性 id 的set方法
* @return
*/
public void setId(Long id){
this.id = id;
}
/**
* 属性 e_account_id 的get方法
* @return Long
*/
public Long getEaccountId(){
return eaccountId;
}
/**
* 属性 e_account_id 的set方法
* @return
*/
public void setEaccountId(Long eaccountId){
this.eaccountId = eaccountId;
}
/**
* 属性 0待审核 1已通过 2已拒绝 的get方法
* @return String
*/
public String getLicenseplate1Status(){
return licenseplate1Status;
}
/**
* 属性 0待审核 1已通过 2已拒绝 的set方法
* @return
*/
public void setLicenseplate1Status(String licenseplate1Status){
this.licenseplate1Status = licenseplate1Status;
}
/**
* 属性 0待审核 1已通过 2已拒绝 的get方法
* @return String
*/
public String getLicenseplate2Status(){
return licenseplate2Status;
}
/**
* 属性 0待审核 1已通过 2已拒绝 的set方法
* @return
*/
public void setLicenseplate2Status(String licenseplate2Status){
this.licenseplate2Status = licenseplate2Status;
}
/**
* 属性 licenseplate1 的get方法
* @return String
*/
public String getLicenseplate1(){
return licenseplate1;
}
/**
* 属性 licenseplate1 的set方法
* @return
*/
public void setLicenseplate1(String licenseplate1){
this.licenseplate1 = licenseplate1;
}
/**
* 属性 licenseplate2 的get方法
* @return String
*/
public String getLicenseplate2(){
return licenseplate2;
}
/**
* 属性 licenseplate2 的set方法
* @return
*/
public void setLicenseplate2(String licenseplate2){
this.licenseplate2 = licenseplate2;
}
/**
* 属性 gmt_created 的get方法
* @return Timestamp
*/
public Date getGmtCreated(){
return gmtCreated;
}
/**
* 属性 gmt_created 的set方法
* @return
*/
public void setGmtCreated(Date gmtCreated){
this.gmtCreated = gmtCreated;
}
/**
* 属性 gmt_modified 的get方法
* @return Timestamp
*/
public Date getGmtModified(){
return gmtModified;
}
/**
* 属性 gmt_modified 的set方法
* @return
*/
public void setGmtModified(Date gmtModified){
this.gmtModified = gmtModified;
}
/**
* 属性 modifier 的get方法
* @return String
*/
public String getModifier(){
return modifier;
}
/**
* 属性 modifier 的set方法
* @return
*/
public void setModifier(String modifier){
this.modifier = modifier;
}
/**
* 属性 是否删除Y/N默认N 的get方法
* @return Character
*/
public Character getIsDeleted(){
return isDeleted;
}
/**
* 属性 是否删除Y/N默认N 的set方法
* @return
*/
public void setIsDeleted(Character isDeleted){
this.isDeleted = isDeleted;
}
/**
* Hibernate通过该方法判断对象是否相等
* @return boolean
*/
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || !(o instanceof GreenLicenseplateApproval))
return false;
GreenLicenseplateApproval other = (GreenLicenseplateApproval) o;
return new EqualsBuilder()
.append(this.getId(), other.getId())
.isEquals();
}
/**
* toString方法
* @return String
*/
public String toString(){
return new StringBuffer()
.append("id"+":"+getId())
.append("eaccountId"+":"+getEaccountId())
.append("licenseplate1Status"+":"+getLicenseplate1Status())
.append("licenseplate2Status"+":"+getLicenseplate2Status())
.append("licenseplate1"+":"+getLicenseplate1())
.append("licenseplate2"+":"+getLicenseplate2())
.append("gmtCreated"+":"+getGmtCreated())
.append("gmtModified"+":"+getGmtModified())
.append("modifier"+":"+getModifier())
.append("isDeleted"+":"+getIsDeleted())
.toString();
}
/**
* hashcode方法
* @return int
*
*/
@Override
public int hashCode(){
return super.hashCode();
}
}