package com.ruoyi.zdsz.domain.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

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

/**
 * 小区管理业务对象 z_area
 *
 * @author ruoyi
 * @date 2023-12-27
 */

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

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

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

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

    /**
     * 是否释放
     */
//    @NotNull(message = "是否释放不能为空", groups = { AddGroup.class, EditGroup.class })
    private String releaseIs;
    private String source;
    private String renovationColumn;

    /**
     * 释放人
     */
//    @NotBlank(message = "释放人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String releaseBy;

    /**
     * 行政区
     */
    @NotBlank(message = "行政区不能为空", groups = { AddGroup.class, EditGroup.class })
    private String district;

    /**
     * 核算行政区
     */
//    @NotBlank(message = "核算行政区不能为空", groups = { AddGroup.class, EditGroup.class })
    private String calculateDistrict;

    /**
     * 所属包
     */
//    @NotBlank(message = "所属包不能为空", groups = { AddGroup.class, EditGroup.class })
    private String belongingPack;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;
    private String administrative;


}
