package org.dromara.system.domain.bo;

import org.dromara.system.domain.SiteSite;
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.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 【请填写功能名称】业务对象 site_site
 *
 * @author Lion Li
 * @date 2024-10-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SiteSite.class, reverseConvertGenerate = false)
public class SiteSiteBo extends BaseEntity {

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

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

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

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

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

    /**
     * 站点管理员
     */
    @NotBlank(message = "站点管理员不能为空", groups = { AddGroup.class, EditGroup.class })
    private String siteManager;

    /**
     * 站点头像/图片
     */
    @NotBlank(message = "站点头像/图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String siteLogo;

    /**
     * 创建时间
     */
    @NotNull(message = "创建时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date createdAt;

    /**
     * 更新时间
     */
    @NotNull(message = "更新时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date updatedAt;


}
