package com.ruoyi.hezhi.domain.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 学习中心对象 tb_study_center
 *
 * @author ruoyi
 * @date 2024-10-21
 */
@Getter
@Setter
@ToString
public class StudyCenterDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 学习中心入驻 */
    public interface joinInStudyCenter{}


    /** 学习中心主键ID */
    private Long studyCenterId;

    /** 负责人 */
    @NotBlank(message = "缺少负责人", groups = {joinInStudyCenter.class})
    private String superintendent;

    /** 电话/手机 */
    @NotBlank(message = "缺少电话/手机", groups = {joinInStudyCenter.class})
    private String phone;

    /** 企业名称 */
    @NotBlank(message = "缺少企业名称", groups = {joinInStudyCenter.class})
    private String enterpriseName;

    /** 学习中心名称 */
    @NotBlank(message = "缺少学习中心名称", groups = {joinInStudyCenter.class})
    private String studyCenterName;

    /** 营业执照信用代码 */
    @NotBlank(message = "缺少营业执照信用代码", groups = {joinInStudyCenter.class})
    private String businessLicenseCreditCode;

    /** 营业执照图（多个用英文逗号隔开） */
    @NotBlank(message = "缺少营业执照图", groups = {joinInStudyCenter.class})
    private String businessLicenseImg;

    /** 省ID */
    @NotNull(message = "缺少省ID", groups = {joinInStudyCenter.class})
    private Long provinceId;

    /** 市ID */
    @NotNull(message = "缺少市ID", groups = {joinInStudyCenter.class})
    private Long cityId;

    /** 区（县）ID */
    @NotNull(message = "缺少区（县）ID", groups = {joinInStudyCenter.class})
    private Long areaId;

}
