package com.dsk.system.domain.business;

import java.util.Date;

import com.dsk.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.dsk.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 项目工作待办对象 business_backlog
 *
 * @author lxl
 * @date 2023-05-17
 */
@Data
public class BusinessBacklog
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 项目id */
    @Excel(name = "项目id")
    private Integer businessId;

    /** 关联客户 */
    @Excel(name = "关联客户")
    private String target;

    /** 待办工作内容 */
    @Excel(name = "待办工作内容")
    private String task;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dueTime;

    /** 状态(2已完成，1进行中，0逾期) */
    @Excel(name = "状态 0：进行中 1：已到期")
    private Integer state;

    private Date createTime;

    private Date updateTime;

}
