package com.kxs.product.api.dto.kxsapp.gd;

import com.kxs.common.core.valid.Phone;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;


/**
 * 广电报备-提交工单-dto
 *
 * @author 系统
 * @date 2024-04-23 10:44:27
 */
@Data
public class GdReportPutDTO {

    /**
     * 创客姓名
     */
    @Schema(description = "创客姓名")
    @NotBlank(message = "创客姓名不能为空")
    private String username;


    /**
     * 创客编号
     */
    @Schema(description = "创客编号")
    @NotBlank(message = "创客编号不能为空")
    private String userCode;


    /**
     * 报备省份
     */
    @Schema(description = "报备省份")
    @NotBlank(message = "报备省份不能为空")
    private String province;


    /**
     * 报备城市
     */
    @Schema(description = "报备城市")
    @NotBlank(message = "报备城市不能为空")
    private String city;


    /**
     * 入网姓名
     */
    @Schema(description = "入网姓名")
    @NotBlank(message = "入网姓名不能为空")
    private String putName;


    /**
     * 入网手机号
     */
    @Schema(description = "入网手机号")
    @NotBlank(message = "入网手机号不能为空")
    @Phone
    private String putMobile;


    /**
     * 验证码
     */
    @Schema(description = "验证码")
    @NotBlank(message = "验证码不能为空")
    @Length(min = 6,max = 6, message = "验证码错误")
    private String code;




}
