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;
import java.util.Date;

/**
 * @Author 蔡文强
 * @Date 2024/1/2 10:56
 * @Description 广告位租赁DTO
 */
@Data
@ApiModel(value = "PropertyAdsPositionLeaseDto对象", description = "广告位租赁DTO")
public class PropertyAdsPositionLeaseDto {
    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    private Long id;
    /**
     * 广告位ID
     */
    @ApiModelProperty(name = "adsId", value = "广告位ID")
    @NotNull(message = "广告位ID不能为空")
    private Long adsId;
    /**
     * 客户档案ID
     */
    @ApiModelProperty(name = "customerArchivesId", value = "客户档案ID")
    @NotNull(message = "客户档案ID不能为空")
    private Long customerArchivesId;
    /**
     * 联系人
     */
    @ApiModelProperty(name = "linkMan", value = "联系人")
    @NotBlank(message = "联系人不能为空")
    private String linkMan;
    /**
     * 联系电话
     */
    @ApiModelProperty(name = "linkPhone", value = "联系电话")
    @NotBlank(message = "联系电话不能为空")
    private String linkPhone;
    /**
     * 租赁开始日期
     */
    @ApiModelProperty(name = "startDate", value = "租赁开始日期")
    @NotNull(message = "租赁开始日期不能为空")
    private Date startDate;
    /**
     * 租赁结束日期
     */
    @ApiModelProperty(name = "endDate", value = "租赁结束日期")
    @NotNull(message = "租赁结束日期不能为空")
    private Date endDate;

}
