package org.jeecg.modules.stm.my.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
 
 
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 待办任务
 * @Author: jeecg-boot
 * @Date:   2024-04-17
 * @Version: V1.0
 */
@Data
@TableName("my_task")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
 
public class MyTask implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    
    private Integer id;
	/**名称*/
	@Excel(name = "名称", width = 15)
    
    private String name;

    @Excel(name = "所属模块;1 非现场报送 2 风险监测 3 问题整改", width = 15)
    
    private Integer tp;

    /**跳转地址*/
    @Excel(name = "跳转地址", width = 15)
    
    private String linkAddr;

    /**目标名称*/
	@Excel(name = "目标名称", width = 15)
    
    private String target;

    @Excel(name = "目标ID", width = 15)
    
    private String targetId;

    /**任务名称*/
	@Excel(name = "任务名称", width = 15)
    
    private String taskName;

    /**状态*/
    @Excel(name = "状态", width = 15)
    
    private Integer sta;


	/**优先级*/
	@Excel(name = "优先级", width = 15)
    
    private String priority;

    /**用户ID*/
    @Excel(name = "待办人", width = 15)
    
    private String uid;

	/**开始时间*/
	@Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd HH:MM")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:MM")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:MM")
    
    private Date stTime;
	/**截止时间*/
	@Excel(name = "截止时间", width = 15, format = "yyyy-MM-dd HH:MM")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:MM")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:MM")
    
    private Date endTime;
	/**描述*/
	@Excel(name = "描述", width = 15)
    
    private String des;
}
