package org.dromara.elevator.domain.bo;

import org.dromara.elevator.domain.ELargeScreen;
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.*;

/**
 * 监控大屏;业务对象 e_large_screen
 *
 * @author zy
 * @date 2024-11-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ELargeScreen.class, reverseConvertGenerate = false)
public class ELargeScreenBo extends BaseEntity {

    /**
     * 用户ID
     */
    private Long id;

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

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

    /**
     * 备注
     */
    private String remark;

    /**
     * 区域code
     */
    private String areaCode;


}
