package com.yuanchu.mom.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Getter;
|
import lombok.Setter;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* <p>
|
* 资源预定新建预定表
|
* </p>
|
*
|
* @author baomidou
|
* @since 2024-09-14
|
*/
|
@Getter
|
@Setter
|
@TableName("device_reservation")
|
public class Reservation implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 设备id
|
*/
|
private Integer deviceId;
|
|
/**
|
* 预定设备
|
*/
|
private String deviceName;
|
|
/**
|
* 客户名称
|
*/
|
private String customerName;
|
|
/**
|
* 预定时间
|
*/
|
|
private String reservationTime;
|
|
/**
|
* 具体时间
|
*/
|
private String specificTime;
|
|
|
|
/**
|
* 联系人
|
*/
|
private String linkPerson;
|
|
/**
|
* 联系电话
|
*/
|
private String phone;
|
|
/**
|
* 流程编号
|
*/
|
private String deviceNumber;
|
|
/**
|
* 预定说明
|
*/
|
private String reservationSpecification;
|
|
/**
|
* 创建人
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDateTime createDate;
|
}
|