You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tobacco/bs-admin/src/main/java/com/bs/ct/domain/CtTaskInfo.java

186 lines
4.6 KiB

package com.bs.ct.domain;
import java.util.Date;
import java.util.List;
import com.baomidou.mybatisplus.annotation.*;
import com.bs.cm.domain.CmAttach;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModelProperty;
/**
* 任务信息对象 ct_task_info
*
* @author bs
* @date 2025-02-22
*/
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("ct_task_info")
@Data
public class CtTaskInfo extends BaseEntity{
private static final long serialVersionUID = 1L;
/** id */
@TableId(value = "id",type = IdType.AUTO)
@ApiModelProperty(value = "id")
private Long id;
/** 任务类型 */
@Excel(name = "任务类型")
@ApiModelProperty(value = "任务类型")
private String taskType;
/** 任务标题 */
@Excel(name = "任务标题")
@ApiModelProperty(value = "任务标题")
private String taskTitle;
/** 任务编号 */
@Excel(name = "任务编号")
@ApiModelProperty(value = "任务编号")
private String taskCode;
/** 开始时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty(value = "开始时间")
private Date startDate;
/** 结束时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty(value = "结束时间")
private Date endDate;
//@Excel(name = "任务要求")
@ApiModelProperty(value = "任务期限")
@TableField(exist = false)
private String startToEndDate;
/** 任务要求 */
@Excel(name = "任务内容")
@ApiModelProperty(value = "任务内容")
private String taskContent;
/** 完成状态 */
@Excel(name = "完成状态")
@ApiModelProperty(value = "完成状态")
private String status;
/** 附件id */
@Excel(name = "附件id")
@ApiModelProperty(value = "附件id")
private Long fileId;
/** 附件id */
@ApiModelProperty(value = "附件")
@TableField(exist = false)
private List<CmAttach> file;
/** 任务发起人 */
@Excel(name = "任务发起人")
@ApiModelProperty(value = "任务发起人")
private String taskInitiator;
/** 任务发起单位机构代码 */
@Excel(name = "任务发起单位机构代码")
@ApiModelProperty(value = "任务发起单位机构代码")
private String branchCode;
/** 任务发起单位 */
@Excel(name = "任务发起单位")
@ApiModelProperty(value = "任务发起单位")
private String branchName;
/** 任务发起部门 */
//@Excel(name = "任务发起部门")
@ApiModelProperty(value = "任务发起部门")
private Long deptId;
/** 任务发起部门 */
@Excel(name = "任务发起部门")
@ApiModelProperty(value = "任务发起部门")
@TableField(exist = false)
private String deptName;
/** 任务发布日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "任务发布日期", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty(value = "任务发布日期")
@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date taskDate;
@Excel(name = "办理单位")
@ApiModelProperty(value = "办理单位")
@TableField(exist = false)
private String transactBranchName;
@Excel(name = "办理部门")
@ApiModelProperty(value = "办理部门")
@TableField(exist = false)
private String transactDeptName;
@Excel(name = "办理人")
@ApiModelProperty(value = "办理人")
@TableField(exist = false)
private String transactInitiator;
/** 备注 */
@Excel(name = "备注")
@ApiModelProperty(value = "备注")
private String remarks;
@TableField(exist = false)
private List<CtTaskBranch> branchList;
@Excel(name = "任务状态")
@TableField(exist = false)
private String taskStatus;
@Excel(name = "办理人Id")
@TableField(exist = false)
private List<String> userIds;
@TableField(exist = false)
private Integer pageNum;
@TableField(exist = false)
private Integer pageSize;
@TableField(exist = false)
private CtTaskFeedback sdTaskOtherFeedbackByCreate;
@TableField(exist = false)
private CtTaskFeedback sdTaskOtherFeedbackByFeedback;
@TableField(exist = false)
private List<CtTaskTag> tags;
@TableField(exist = false)
@JsonFormat(pattern = "yyyy-MM-dd")
private Date queryDate;
}