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.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author 蔡文强
 * @Date 2023/10/27 10:56
 * @Description 看房登记DTO
 */
@Data
@ApiModel(value = "PropertyAppointHouseReviewRegisterDTO对象", description = "看房登记DTO")
public class PropertyAppointHouseReviewRegisterDTO {
    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    @NotNull(message = "主键ID不能为空")
    private Long id;
    /**
     * 看房结果(1:考虑中 2:已预定 3:不符合需求 4:态度不明确)
     */
    @ApiModelProperty(name = "lookResult", value = "看房结果(1:考虑中 2:已预定 3:不符合需求 4:态度不明确)")
    @NotNull(message = "看房结果不能为空")
    private Integer lookResult;
    /**
     * 备注信息
     */
    @ApiModelProperty(name = "remark", value = "备注信息")
    @NotBlank(message = "备注信息不能为空")
    private String remark;
}
