package com.cpop.oam.business.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import com.cpop.core.base.entity.BaseEntity;
import com.cpop.core.base.entity.BaseInsertListener;
import com.cpop.core.base.entity.BaseUpdateListener;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 任务-工单-记录表 实体类。
 *
 * @author DB
 * @since 2023-09-18
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(value = "cp_oam_task_work_order_record", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class, mapperGenerateEnable = false)
public class TaskWorkOrderRecord extends BaseEntity implements Serializable {

    /**
     * 主键
     */
    @Id
    private String id;

    /**
     * 任务工单id
     */
    private String taskWorkOrderId;

    /**
     * 记录员工id
     */
    private String recordStaffId;

    /**
     * 记录内容
     */
    private String recordText;

    /**
     * 附件地址
     */
    private String attachmentUrl;





}
