package com.bonus.material.task.domain;

import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 任务对象 tm_task_agreement
 * 
 * @author xsheng
 * @date 2024-10-16
 */


@EqualsAndHashCode(callSuper = false)
@Data
@ToString
public class TmTaskAgreement extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 任务ID */
    private Long taskId;

    /** 协议ID */
    @Excel(name = "协议ID")
    @ApiModelProperty(value = "协议ID")
    private Long agreementId;

    /** 数据所属组织 */
    @Excel(name = "数据所属组织")
    @ApiModelProperty(value = "数据所属组织")
    private Long companyId;

    public TmTaskAgreement(Long taskId, Long agreementId) {
        this.taskId = taskId;
        this.agreementId = agreementId;
    }

    public TmTaskAgreement() {

    }
}
