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;

/**
 * 便民服务业务对象 convenience_service
 *
 * @author Ashe
 * @date 2025-08-13
 */

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

    /**
     * 主键
     */
    private Long id;

    /**
     * 服务类型（1=洗衣服务，2=清洁服务，3=超市服务，4=送水服务）
     */
    @NotNull(message = "服务类型（1=洗衣服务，2=清洁服务，3=超市服务，4=送水服务）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long serviceType;

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

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

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


}
