package com.chushang.inspection.work.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chushang.common.mybatis.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
  * @auther: zhao
  * @date: 2024/6/26 17:13
  */

/**
 * 工单商户信息
 */
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dispatch_record")
public class WrkDispatchRecord extends BaseEntity {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 工单id
     */
    @TableField(value = "wrk_id")
    private Long wrkId;

    /**
     * 租户id
     */
    @TableField(value = "dept_id")
    private Long deptId;

    /**
     * 商户编号
     */
    @TableField(value = "store_no")
    private String storeNo;

    /**
     * 商户id
     */
    @TableField(value = "store_id")
    private Long storeId;

    /**
     * 商户名称
     */
    @TableField(value = "store_name")
    private String storeName;

    /**
     * 租户名称
     */
    @TableField(value = "dept_name")
    private String deptName;

    @TableField(value = "task_id")
    private Long taskId;

    @TableField(value = "lower_task_id")
    private Long lowerTaskId;

    @TableField(value = "task_name")
    private String taskName;

    @TableField(value = "lower_task_name")
    private String lowerTaskName;

    @TableField(value = "user_name")
    private String userName;

    @TableField(value = "work_no")
    private Long workNo;

    @TableField(value = "terminal_source")
    private Integer terminalSource;

    @TableField(value = "terminal_type")
    private String terminalType;

    @TableField(value = "terminal_no")
    private String terminalNo;

    @TableField(value = "terminal_model")
    private String terminalModel;

    @TableField(value = "terminal_version")
    private String terminalVersion;

    @TableField(value = "terminal_sn")
    private String terminalSn;

    @TableField(value = "admin_id")
    private String adminId;

    @TableField(value = "terminal_address")
    private String terminalAddress;

    @TableField(value = "remark")
    private String remark;

    @TableField(value = "user_id")
    private Long userId;




}
