package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.Region;

import java.util.List;

/**
 * 【请填写功能名称】业务对象 region
 *
 * @author Lion Li
 * @date 2024-12-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AutoMapper(target = Region.class, reverseConvertGenerate = false)
public class RegionBoStr{

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String regionId;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String regionName;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String regionTitle;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String regionDesc;

    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String regionType;

    private String[] regionFacilities;

    private List<SysImgBo> sysimg;


}
