package com.yongqi.xinrenli.domain.bo;

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 java.util.Date;

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

/**
 * 用户反馈业务对象 db_user_feedback
 *
 * @author zyf
 * @date 2023-03-09
 */

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

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

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

    /**
     * 反馈标题
     */
    @NotBlank(message = "反馈标题不能为空", groups = {AddGroup.class, EditGroup.class})
    private String title;

    /**
     * 反馈内容
     */
    @NotBlank(message = "反馈内容不能为空", groups = {AddGroup.class, EditGroup.class})
    private String content;

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

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

    /**
     * 修改时间
     */
    @NotNull(message = "修改时间不能为空", groups = {AddGroup.class, EditGroup.class})
    private Date modifyTime;

    /**
     * 删除状态
     */
    @NotNull(message = "删除状态不能为空", groups = {AddGroup.class, EditGroup.class})
    private Integer deleteStatus;


}
