package org.wcs.model.po.app;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

@Setter
@Getter
@NoArgsConstructor
@TableName("t_app_record_task_mag")
public class AppRecordTaskMag {

    public AppRecordTaskMag(String recordId, String taskId, String vehicleNo, String message) {
        this.taskId = taskId;
        this.vehicleNo = vehicleNo;
        this.message = message;
        this.recordId = recordId;
    }

    /**
     * 记录ID
     */
    @TableId(value = "record_id")
    private String recordId;

    /**
     * 任务ID
     */
    @TableField(value = "task_id")
    private String taskId;

    /**
     * 载具编号
     */
    @TableField(value = "vehicle_no")
    private String vehicleNo;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 信息
     */
    @TableField(value = "message")
    private String message;

}
