ErpProblem.java 4.3 KB
package com.skua.modules.erp.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.skua.core.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 数据问题上报
 */
@Data
@TableName("erp_problem")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="erp_problem对象", description="数据问题上报")
public class ErpProblem {

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**所属厂站*/
	@Excel(name = "所属厂站", width = 15)
    @ApiModelProperty(value = "所属厂站")
	@Dict(dictTable = "sys_depart", dicCode = "id", dicText = "depart_name")
	private String departId;
	/**问题描述*/
	@Excel(name = "问题描述", width = 15)
    @ApiModelProperty(value = "问题描述")
	private String problemContent;
	/**功能名称*/
	@Excel(name = "功能名称", width = 15)
    @ApiModelProperty(value = "功能名称")
	private String functionName;
	/**问题类型*/
	@Excel(name = "问题类型", width = 15)
    @ApiModelProperty(value = "问题类型")
	@Dict(dicCode = "erp_problem_type")
	private String problemType;
	/**问题截图*/
	@Excel(name = "问题截图", width = 15)
    @ApiModelProperty(value = "问题截图")
	private String problemPic;
	/**动态截图*/
	@Excel(name = "动态截图", width = 15)
    @ApiModelProperty(value = "动态截图")
	private String problemExtPic;
	/**上报人*/
	@Excel(name = "上报人", width = 15)
    @ApiModelProperty(value = "上报人")
	@Dict(dicCode = "id",dictTable="sys_user",dicText="realname")
	private String reportUserId;
	/**上报时间*/
    @ApiModelProperty(value = "上报时间")
	private Date reportDate;
	/**处理状态(0:未提交,1:已提交,2退回,3已处理,4 关闭)*/
	@Excel(name = "处理状态(0:未提交,1:待处理,2退回,3已处理,4 关闭)", width = 15)
    @ApiModelProperty(value = "处理状态(0:未提交,1:待处理,2退回,3已处理,4 关闭)")
	@Dict(dicCode = "erp_problem_handle_status")
	private Integer handleStatus;
	/**审批意见*/
	@Excel(name = "审批意见", width = 15)
    @ApiModelProperty(value = "审批意见")
	private String approveMessage;

	@ApiModelProperty(value = "复核原因")
	private String reviewReason ;

	/**处理人*/
	@Excel(name = "处理人", width = 15)
    @ApiModelProperty(value = "处理人")
	private String handleUser;
	/**处理时间*/
	@Excel(name = "处理时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "处理时间")
	private Date handleTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**创建人Id*/
	@Excel(name = "创建人Id", width = 15)
    @ApiModelProperty(value = "创建人Id")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改人Id*/
	@Excel(name = "修改人Id", width = 15)
    @ApiModelProperty(value = "修改人Id")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
	/**删除标识,1有效,0删除*/
	@Excel(name = "删除标识,1有效,0删除", width = 15)
    @ApiModelProperty(value = "删除标识,1有效,0删除")
	private Integer delFlag;
}