package com.gxwebsoft.oa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 工单成员
 *
 * @author 科技小王子
 * @since 2023-10-23 18:53:01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TaskUser对象", description = "工单成员")
@TableName("oa_task_user")
public class TaskUser implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    @TableId(value = "task_user_id", type = IdType.AUTO)
    private Integer taskUserId;

    @ApiModelProperty(value = "角色，10体验成员 20开发者成员 30管理员 ")
    private Integer role;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "工单ID")
    private Integer taskId;

    @ApiModelProperty(value = "状态, 0待处理, 1已完成")
    private Integer status;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "加入时间")
    private Date createTime;

}
