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:42 * @describe 预约登记操作记录表实体类 */ @Data @TableName("com_act_reserve_operation_record") public class ComActReserveOperationRecordDO implements Serializable { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(type = IdType.ASSIGN_ID) private Long id; /** * 预约登记id */ private Long reserveId; /** * 预约登记记录id */ private Long reserveRecordId; /** * 用户id */ private Long userId; /** * 类型(1.本人操作 2.社区操作) */ private Integer type; /** * 操作人手机号 */ private String phone; /** * 操作时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date reserveTime; /** * 操作内容 */ private String reserveContent; /** * 备注 */ private String remark; /** * 状态(1.提交 2.预约成功 3.预约失败 4.取消) */ private Integer status; /** * 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createAt; /** * 创建人 */ private Long createBy; @Override public String toString() { return "ComActReserveOperationRecordDO{" + "id=" + id + ", reserveId=" + reserveId + ", reserveRecordId=" + reserveRecordId + ", userId=" + userId + ", type=" + type + ", phone=" + phone + ", reserveTime=" + reserveTime + ", reserveContent=" + reserveContent + ", remark=" + remark + ", status=" + status + ", createAt=" + createAt + ", createBy=" + createBy + "}"; } /** * 1本人 2社区 */ public interface type{ int br=1; int sq=2; } /** * 状态(1.提交 2.预约成功 3.预约失败 4.取消) */ public interface status{ int ytj=1; int cg=2; int sb=3; int qx=4; } }