package org.dromara.biz.domain.bo;

import org.dromara.biz.domain.StatDept;
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;

/**
 * 单位每日数据统计业务对象 stat_dept
 *
 * @author YIN
 * @date 2025-06-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = StatDept.class, reverseConvertGenerate = false)
public class StatDeptBo extends BaseEntity {

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

    /**
     * 部门ID
     */
    @NotNull(message = "部门ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

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

    /**
     * 统计日期
     */
    @NotNull(message = "统计日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date tjrq;

    /**
     * 发起任务总数
     */
    @NotNull(message = "发起任务总数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long rwzs;

    /**
     * 警情任务数
     */
    @NotNull(message = "警情任务数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long jqrws;

    /**
     * 案件任务数
     */
    @NotNull(message = "案件任务数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long ajrws;

    /**
     * 专项任务数
     */
    @NotNull(message = "专项任务数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long zxrws;

    /**
     * 其他任务数
     */
    @NotNull(message = "其他任务数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long qtrws;

    /**
     * 普通任务数
     */
    @NotNull(message = "普通任务数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long ptrws;

    /**
     * 指令任务数
     */
    @NotNull(message = "指令任务数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long jjrws;

    /**
     * 线索核查数
     */
    @NotNull(message = "线索核查数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long zlrws;

    /**
     * 敏感任务数
     */
    @NotNull(message = "敏感任务数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long mgrws;

    /**
     * 特殊任务数
     */
    @NotNull(message = "特殊任务数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long tsrws;

    /**
     * 情指任务数
     */
    @NotNull(message = "情指任务数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long qzrws;

    /**
     * 协作单数
     */
    @NotNull(message = "协作单数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long xzds;

    /**
     * 反馈单数
     */
    @NotNull(message = "反馈单数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long fkds;

    /**
     * 平均耗时 秒
     */
    @NotNull(message = "平均耗时 秒不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long pjhs;


}
