package com.ruoyi.zhdd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 值班报告信息业务对象 b_duty_report
 *
 * @author xintong
 * @date 2021-10-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("值班报告信息业务对象")
public class DutyReportBo extends BaseEntity {

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "$column.columnComment")
    private String id;

    /**
     * 报告内容
     */
    @ApiModelProperty(value = "报告内容")
    @NotBlank(message = "报告内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String reportContent;

    /**
     * 报告状态
     */
    @ApiModelProperty(value = "报告状态.1-暂存。2-提交")
    private Integer status;

    /**
     * 值班日期
     */
    @ApiModelProperty(value = "值班日期")
    private Date dutyDate;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "$column.columnComment")
    private String delFlag;


    /**
     * 分页大小
     */
    @ApiModelProperty("分页大小")
    private Integer pageSize;

    /**
     * 当前页数
     */
    @ApiModelProperty("当前页数")
    private Integer pageNum;

    /**
     * 排序列
     */
    @ApiModelProperty("排序列")
    private String orderByColumn;

    /**
     * 排序的方向desc或者asc
     */
    @ApiModelProperty(value = "排序的方向", example = "asc,desc")
    private String isAsc;

}
