package org.dromara.system.domain.bo;

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

/**
 * 乡镇管理业务对象 tbl_country
 *
 * @author Lion Li
 * @date 2024-09-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TblCountry.class, reverseConvertGenerate = false)
public class TblCountryBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

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

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


}
