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 2023/11/29 10:56
 * @Description 企业入驻登记Dto
 */
@Data
@ApiModel(value = "PropertyEnterpriseRegisterDto对象", description = "企业入驻登记Dto")
public class PropertyEnterpriseRegisterDto {

    /**
     * 园区ID
     */
    @ApiModelProperty(name = "parkId", value = "园区ID")
    @NotNull(message = "园区ID不能为空")
    private Long parkId;
    /**
     * 企业ID
     */
    @ApiModelProperty(name = "enterpriseId", value = "企业ID")
    @NotNull(message = "企业ID不能为空")
    private Long enterpriseId;
    /**
     * 企业名称
     */
    @ApiModelProperty(name = "enterpriseName", value = "企业名称")
    @NotBlank(message = "企业名称不能为空")
    private String enterpriseName;
    /**
     * 联系人
     */
    @ApiModelProperty(name = "linkMan", value = "联系人")
    @NotBlank(message = "联系人不能为空")
    private String linkMan;
    /**
     * 联系电话
     */
    @ApiModelProperty(name = "linkPhone", value = "联系电话")
    @NotBlank(message = "联系电话不能为空")
    private String linkPhone;
    /**
     * 上传附件
     */
    @ApiModelProperty(name = "uploadFile", value = "上传附件")
    private String uploadFile;
    /**
     * 入驻房源ID(多个,逗号隔开)
     */
    @ApiModelProperty(name = "houseIds", value = "入驻房源ID(多个,逗号隔开)")
    @NotBlank(message = "入驻房源ID不能为空")
    private String houseIds;
    /**
     * 入驻房源名称(多个,逗号隔开)
     */
    @ApiModelProperty(name = "houseNames", value = "入驻房源名称(多个,逗号隔开)")
    @NotBlank(message = "入驻房源名称不能为空")
    private String houseNames;
    /**
     * 入驻日期
     */
    @ApiModelProperty(name = "entryDate", value = "入驻日期")
    @NotNull(message = "入驻日期不能为空")
    private Date entryDate;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

}
