package com.propertyManagement.business.domain.bo;

import com.propertyManagement.common.core.validate.AddGroup;
import com.propertyManagement.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.propertyManagement.common.core.domain.BaseEntity;

/**
 * 小区业务对象 wx_community
 *
 * @author liushuai
 * @date 2025-05-14
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class WxCommunityBo extends BaseEntity {

    /**
     * 主键
     */
    private Long communityId;

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

    /**
     * 地理位置纬度
     */
    private String latitude;

    /**
     * 地理位置经度
     */
    private Double longitude;

    /**
     * 地理位置精度
     */
    private Double locPrecision;

    /**
     * 是否启用
     */
    @NotNull(message = "是否启用不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isEnable;


}
