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_user_community_ledger
 *
 * @author liushuai
 * @date 2025-05-14
 */

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

    /**
     * 用户主键
     */
    @NotNull(message = "用户主键不能为空", groups = { EditGroup.class })
    private Long userId;

    /**
     * 小区主键
     */
    @NotNull(message = "小区主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long communityId;

    /**
     * 业主台账主键
     */
    @NotNull(message = "业主台账主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long proprietorId;


}
