Reservation.java 2.57 KB
package com.huaheng.pc.receipt.reservation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

@ApiModel(value="com-huaheng-pc-receipt-reservation-domain-Reservation")
@Data
@TableName(value = "reservation")
public class Reservation implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 单号
     */
    @TableField(value = "code")
    @ApiModelProperty(value="单号")
    private String code;

    /**
     * 姓名
     */
    @TableField(value = "`name`")
    @ApiModelProperty(value="姓名")
    private String name;

    /**
     * 联系方式
     */
    @TableField(value = "phone")
    @ApiModelProperty(value="联系方式")
    private String phone;

    /**
     * 车牌号
     */
    @TableField(value = "carPlate")
    @ApiModelProperty(value="车牌号")
    private String carPlate;

    /**
     * 状态
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value="状态")
    private String status;

    /**
     * 站台编号
     */
    @TableField(value = "stationCode")
    @ApiModelProperty(value="站台编号")
    private String stationCode;

    /**
     * 预约时间
     */
    @TableField(value = "beginTime")
    @ApiModelProperty(value="预约开始时间")
    private LocalDateTime beginTime;

    @TableField(value = "endTime")
    @ApiModelProperty(value="预约结束时间")
    private LocalDateTime endTime;

    @TableField(value = "warehouseCode")
    @ApiModelProperty(value="仓库编码")
    private String warehouseCode;

    @TableField(value = "companyCode")
    @ApiModelProperty(value="仓库编码")
    private String companyCode;
    @TableField(value = "userDef1")
    @ApiModelProperty(value="备用")
    private String userDef1;
    @TableField(value = "userDef2")
    @ApiModelProperty(value="备用")
    private String userDef2;

    public String getUserDef1() {
        return userDef1;
    }

    public void setUserDef1(String userDef1) {
        this.userDef1 = userDef1;
    }

    public String getUserDef2() {
        return userDef2;
    }

    public void setUserDef2(String userDef2) {
        this.userDef2 = userDef2;
    }

    private static final long serialVersionUID = 1L;
}