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 java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@AutoMapper(target = RoomBoStr.class, reverseConvertGenerate = false)
public class PositionBoStr {

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

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

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

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

    private List<CommunityBo> community;

    private List<SysImgBo> sysimg;
}
