package com.panzhihua.service_community.model.dos;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
|
/**
|
* @auther lyq
|
* @create 2021-08-23 10:33:53
|
* @describe 预约登记记录表实体类
|
*/
|
|
@Data
|
@TableName("com_act_reserve_record")
|
public class ComActReserveRecordDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private Long id;
|
|
/**
|
* 用户id
|
*/
|
private Long userId;
|
|
/**
|
* 预约登记id
|
*/
|
private Long reserveId;
|
|
/**
|
* 社区id
|
*/
|
private Long communityId;
|
|
/**
|
* 类型(1.预约 2.登记)
|
*/
|
private Integer type;
|
|
/**
|
* 提交人名称
|
*/
|
private String name;
|
|
/**
|
* 提交人手机号
|
*/
|
private String phone;
|
|
/**
|
* 状态(1.待处理 2.预约成功 3.预约失败 4.已取消)
|
*/
|
private Integer status;
|
|
/**
|
* 内容
|
*/
|
private String content;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
/**
|
* 社区备注
|
*/
|
private String actRemark;
|
|
/**
|
* 预约时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date reserveTime;
|
|
/**
|
* 用户填报json数据
|
*/
|
private String jsonObject;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date createAt;
|
|
/**
|
* 创建人
|
*/
|
private Long createBy;
|
|
/**
|
* 修改时间
|
*/
|
private Date updateAt;
|
|
/**
|
* 修改人
|
*/
|
private Long updateBy;
|
|
/**
|
* 处理人id
|
*/
|
private Long handleId;
|
|
@Override
|
public String toString() {
|
return "ComActReserveRecordDO{" +
|
"id=" + id +
|
", userId=" + userId +
|
", reserveId=" + reserveId +
|
", communityId=" + communityId +
|
", type=" + type +
|
", name=" + name +
|
", phone=" + phone +
|
", status=" + status +
|
", content=" + content +
|
", remark=" + remark +
|
", actRemark=" + actRemark +
|
", reserveTime=" + reserveTime +
|
", jsonObject=" + jsonObject +
|
", createAt=" + createAt +
|
", createBy=" + createBy +
|
", updateAt=" + updateAt +
|
", updateBy=" + updateBy +
|
"}";
|
}
|
|
/**
|
* 状态(1.待处理 2.预约成功 3.预约失败 4.已取消)
|
*/
|
public interface status{
|
int dcl = 1;
|
int cg = 2;
|
int sb = 3;
|
int yqx = 4;
|
}
|
/**
|
* 类型(1.预约 2.登记)
|
*/
|
public interface type{
|
int yy=1;
|
int dj=2;
|
}
|
}
|