package com.tashow.cloud.productapi.api.product.vo.skuservicetransport;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 服务遗体运输新增/修改 Request VO")
@Data
public class SkuServiceTransportSaveReqVO {

    @Schema(description = "服务遗体运输唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "5277")
    private Long id;

    @Schema(description = "关联的扩展服务ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1035")
    @NotNull(message = "关联的扩展服务ID不能为空")
    private Long serviceId;

    @Schema(description = "联系人", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "联系人不能为空")
    private String contacts;

    @Schema(description = "详细地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "详细地址不能为空")
    private String address;

    @Schema(description = "省")
    private String province;

    @Schema(description = "市")
    private String city;

    @Schema(description = "区")
    private String area;

    @Schema(description = "电话号码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "电话号码不能为空")
    private String tel;


}