package com.yuchen.saas.park.api.dto.property;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author 蔡文强
 * @Date 2023/10/27 10:56
 * @Description 取消预约DTO
 */
@Data
@ApiModel(value = "PropertyAppointHouseCancelDTO对象", description = "取消预约DTO")
public class PropertyAppointHouseCancelDTO {

    /**
     * 预约记录ID
     */
    @ApiModelProperty(name = "recordId", value = "预约记录ID")
    @NotNull(message = "预约记录ID不能为空")
    private Long recordId;
    /**
     * 取消类型(1:重新预约 2:无需预约看房)
     */
    @ApiModelProperty(name = "cancelType", value = "取消类型(1:重新预约 2:无需预约看房)")
    @NotNull(message = "取消类型不能为空")
    private Integer cancelType;
    /**
     * 取消备注
     */
    @ApiModelProperty(name = "cancelRemark", value = "取消备注")
    private String cancelRemark;

}
