package com.yuchen.saas.parking.api.param;

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

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


/**
 * <p>
 * 动态车添加表
 * </p>
 *
 * @author cxj
 * @since 2023-05-26
 */
@Data
public class UpdateParkingTeamInfoParam {

    @NotNull
    @ApiModelProperty(name = "id", value = "id")
    private Long id;

    @NotBlank
    @ApiModelProperty(name = "teamName", value = "动态车名称")
    private String teamName;


    @ApiModelProperty(name = "companyId", value = "所属企业id")
    private Long companyId;

    @NotNull
    @ApiModelProperty(name = "fixedCount", value = "车辆限制数")
    private Integer fixedCount;

    @NotNull
    @ApiModelProperty(name = "shareCount", value = "共享车位数")
    private Integer shareCount;

    @ApiModelProperty(name = "placeIdList", value = "分配车位号")
    private List<Long> placeIdList;
    @NotNull
    @ApiModelProperty(name = "beginTime", value = "生效开始时间")
    private Date beginTime;
    @NotNull
    @ApiModelProperty(name = "endTime", value = "生效结束时间")
    private Date endTime;

    @ApiModelProperty(name = "remark", value = "描述")
    private String remark;
}
