package com.cool.store.request.oppty;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author suzhuhong
 * @Date 2025/4/1 20:30
 * @Version 1.0
 */
@Data
public class BerthOperationRequest {
    @ApiModelProperty(" 操作类型: 1(新增), 2(更新), 3(删除)")
    @NotNull(message = "操作类型不能为空")
    private Integer opType;

    @ApiModelProperty("机会点编号")
    @NotBlank(message = "机会点编号不能为空")
    private String code;

    @ApiModelProperty("关注人用户编号")
    @NotBlank(message = "关注人用户编号不能为空")
    private String userId;

    @ApiModelProperty("关注用户手机号")
    @NotBlank(message = "关注用户手机号不能为空")
    private String mobile;

    @ApiModelProperty("关注人用户名")
    @NotBlank(message = "关注人用户名不能为空")
    private String userName;

    @ApiModelProperty("铺位ID")
    @NotNull(message = "铺位ID不能为空")
    private Integer berthId;

    @ApiModelProperty("铺位名称")
    @NotBlank(message = "铺位名称不能为空")
    private String name;

    @ApiModelProperty("铺位地址")
    @NotBlank(message = "铺位地址不能为空")
    private String address;

    @ApiModelProperty("铺位经纬度")
    @NotBlank(message = "铺位经纬度不能为空")
    private String location;
}
