hz-zhhq-app-service/greenH5modul/.svn/pristine/a0/a0819b59c3bc29058c49b67fb7d...

454 lines
8.9 KiB
Plaintext
Raw Normal View History

2025-01-21 13:12:35 +08:00
package com.nationalelectric.greenH5.po;
//导入 java 类
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.*;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.hibernate.validator.NotNull;
import org.hibernate.validator.constraints.NotBlank;
/**
* GreenWashCarInfo的POJO类
*
* @author Feb
*/
public class GreenWashCarInfo implements Serializable{
/**
* 序列化
*/
private static final long serialVersionUID = 1L;
/**
* 属性id
*/
private Long id;
/**
* 属性userId
*/
private String userId;
/**
* 属性userName
*/
private String userName;
/**
* 属性applyDate
*/
@NotBlank(message="请选择预约时间")
private String applyDate;
/**
* 属性applyTime
*/
@NotBlank(message="请选择预约时间段")
private String applyTime;
/**
* 属性applyTimeId
*/
@NotNull(message="请选择预约时间段")
private Long applyTimeId;
/**
* 属性deptId
*/
@NotNull(message="请选择部门")
private Long deptId;
/**
* 属性deptName
*/
@NotBlank(message="请选择部门")
private String deptName;
/**
* 属性concatUserName
*/
@NotBlank(message="请选择联系人")
private String concatUserName;
/**
* 属性concatPhone
*/
@NotBlank(message="请选择联系电话")
private String concatPhone;
/**
* 属性createTime
*/
private Date createTime;
/**
* 属性updUser
*/
private String updUser;
/**
* 属性updTime
*/
private Date updTime;
/**
* 属性delFlag
*/
private Integer delFlag;
private String applyPlace;
private String licensePlate;
private Integer startRemind = 0;
private Integer endRemind = 0;
private Integer moveCar = 0;
private Integer intStatus=0;
/**
* GreenWashCarInfo构造函数
*/
public GreenWashCarInfo() {
super();
}
/**
* GreenWashCarInfo完整的构造函数
*/
public GreenWashCarInfo(Long id,String userId){
this.id = id;
this.userId = userId;
}
/**
* 属性 id 的get方法
* @return Long
*/
public Long getId(){
return id;
}
/**
* 属性 id 的set方法
* @return
*/
public void setId(Long id){
this.id = id;
}
public Integer getIntStatus() {
return intStatus;
}
public void setIntStatus(Integer intStatus) {
this.intStatus = intStatus;
}
/**
* 属性 申请人id 的get方法
* @return String
*/
public String getUserId(){
return userId;
}
/**
* 属性 申请人id 的set方法
* @return
*/
public void setUserId(String userId){
this.userId = userId;
}
/**
* 属性 申请人 的get方法
* @return String
*/
public String getUserName(){
return userName;
}
/**
* 属性 申请人 的set方法
* @return
*/
public void setUserName(String userName){
this.userName = userName;
}
/**
* 属性 预约时间(年月日) 的get方法
* @return String
*/
public String getApplyDate(){
return applyDate;
}
/**
* 属性 预约时间(年月日) 的set方法
* @return
*/
public void setApplyDate(String applyDate){
this.applyDate = applyDate;
}
/**
* 属性 预约时间段,例 8:30 - 09:00 的get方法
* @return String
*/
public String getApplyTime(){
return applyTime;
}
/**
* 属性 预约时间段,例 8:30 - 09:00 的set方法
* @return
*/
public void setApplyTime(String applyTime){
this.applyTime = applyTime;
}
/**
* 属性 预约时间段idgreen_wash_car_times 的get方法
* @return Long
*/
public Long getApplyTimeId(){
return applyTimeId;
}
/**
* 属性 预约时间段idgreen_wash_car_times 的set方法
* @return
*/
public void setApplyTimeId(Long applyTimeId){
this.applyTimeId = applyTimeId;
}
/**
* 属性 预约人所在部门id 的get方法
* @return Long
*/
public Long getDeptId(){
return deptId;
}
/**
* 属性 预约人所在部门id 的set方法
* @return
*/
public void setDeptId(Long deptId){
this.deptId = deptId;
}
/**
* 属性 预约人所在部门名称 的get方法
* @return String
*/
public String getDeptName(){
return deptName;
}
/**
* 属性 预约人所在部门名称 的set方法
* @return
*/
public void setDeptName(String deptName){
this.deptName = deptName;
}
/**
* 属性 联系人姓名 的get方法
* @return String
*/
public String getConcatUserName(){
return concatUserName;
}
/**
* 属性 联系人姓名 的set方法
* @return
*/
public void setConcatUserName(String concatUserName){
this.concatUserName = concatUserName;
}
/**
* 属性 联系人手机号 的get方法
* @return String
*/
public String getConcatPhone(){
return concatPhone;
}
/**
* 属性 联系人手机号 的set方法
* @return
*/
public void setConcatPhone(String concatPhone){
this.concatPhone = concatPhone;
}
/**
* 属性 添加时间 的get方法
* @return Timestamp
*/
public Date getCreateTime(){
return createTime;
}
/**
* 属性 添加时间 的set方法
* @return
*/
public void setCreateTime(Date createTime){
this.createTime = createTime;
}
/**
* 属性 修改人 的get方法
* @return String
*/
public String getUpdUser(){
return updUser;
}
/**
* 属性 修改人 的set方法
* @return
*/
public void setUpdUser(String updUser){
this.updUser = updUser;
}
/**
* 属性 修改时间 的get方法
* @return Timestamp
*/
public Date getUpdTime(){
return updTime;
}
/**
* 属性 修改时间 的set方法
* @return
*/
public void setUpdTime(Date updTime){
this.updTime = updTime;
}
/**
* 属性 逻辑删除 0 未删除 1 已删除 的get方法
* @return Integer
*/
public Integer getDelFlag(){
return delFlag;
}
/**
* 属性 逻辑删除 0 未删除 1 已删除 的set方法
* @return
*/
public void setDelFlag(Integer delFlag){
this.delFlag = delFlag;
}
public String getApplyPlace() {
return applyPlace;
}
public void setApplyPlace(String applyPlace) {
this.applyPlace = applyPlace;
}
public String getLicensePlate() {
return licensePlate;
}
public void setLicensePlate(String licensePlate) {
this.licensePlate = licensePlate;
}
public Integer getStartRemind() {
return startRemind;
}
public void setStartRemind(Integer startRemind) {
this.startRemind = startRemind;
}
public Integer getEndRemind() {
return endRemind;
}
public void setEndRemind(Integer endRemind) {
this.endRemind = endRemind;
}
public Integer getMoveCar() {
return moveCar;
}
public void setMoveCar(Integer moveCar) {
this.moveCar = moveCar;
}
/**
* Hibernate通过该方法判断对象是否相等
* @return boolean
*/
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || !(o instanceof GreenWashCarInfo))
return false;
GreenWashCarInfo other = (GreenWashCarInfo) o;
return new EqualsBuilder()
.append(this.getId(), other.getId())
.isEquals();
}
/**
* toString方法
* @return String
*/
public String toString(){
return new StringBuffer()
.append("id"+":"+getId())
.append("userId"+":"+getUserId())
.append("userName"+":"+getUserName())
.append("applyDate"+":"+getApplyDate())
.append("applyTime"+":"+getApplyTime())
.append("applyTimeId"+":"+getApplyTimeId())
.append("deptId"+":"+getDeptId())
.append("deptName"+":"+getDeptName())
.append("concatUserName"+":"+getConcatUserName())
.append("concatPhone"+":"+getConcatPhone())
.append("createTime"+":"+getCreateTime())
.append("updUser"+":"+getUpdUser())
.append("updTime"+":"+getUpdTime())
.append("delFlag"+":"+getDelFlag())
.toString();
}
/**
* hashcode方法
* @return int
*
*/
@Override
public int hashCode(){
return super.hashCode();
}
}