package com.bonus.material.lease.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 预约车对象 lease_user_book
 * 
 * @author xsheng
 * @date 2024-10-16
 */


@Data
@ToString
public class LeaseUserBook extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /** 机具规格ID */
    @Excel(name = "机具规格ID")
    @ApiModelProperty(value = "机具规格ID")
    private Long typeId;

    /** 预约数量 */
    @Excel(name = "预约数量")
    @ApiModelProperty(value = "预约数量")
    private Long bookNum;

    /** 预约时间 */
    @ApiModelProperty(value = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bookTime;

    /** 数据所属组织 */
    @Excel(name = "数据所属组织")
    @ApiModelProperty(value = "数据所属组织")
    private Long companyId;


}
