package com.yuchen.saas.manage.user.api.vo.sasscompany;

import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 宋少挺
 */
@Data
@ApiModel(value = "PC添加企业入驻实体类", description = "PC添加企业入驻实体类")
public class AddCompanySettlePcVo {
    @ApiModelProperty(value = "企业id")
    @NotNull(message = "企业id不能为空")
    private Long companyId;
    @ApiModelProperty(value = "入驻园区")
    @NotNull(message = "入驻园区不能为空")
    private Long parkId;
    @ApiModelProperty(value = "入驻类型")
    @NotNull(message = "入驻类型不能为空")
    private Integer type;
    @ApiModelProperty(value = "入驻地址")
    @NotNull(message = "入驻地址不能为空")
    private String address;
    @ApiModelProperty(value = "入驻面积")
    @NotNull(message = "入驻面积不能为空")
    private String settleArea;
    @ApiModelProperty(value = "入驻有效期开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date settleEffectiveTimeStart;
    @ApiModelProperty(value = "入驻有效期结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date settleEffectiveTimeEnd;
    @ApiModelProperty(value = "入驻日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date settleTime;

}
