package com.yh.saas.plugin.yiliangyiyun.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import com.yh.saas.common.support.entity.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 运输单价审核
 * </p>
 *
 * @author Gongdc
 * @since 2021-08-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tran_price_approve")
public class TranPriceApprove extends BaseModel<TranPriceApprove> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.UUID)
    private String id;
    /**
     * 公司id
     */
    private String compId;
    /**
     * 汽运阶段
     */
    private String processId;
    /**
     * 审核人
     */
    private String reviewer;
    /**
     * 类型(1运价2结算重量)
     */
    private String recordType;
    /**
     * 审核结果
     */
    private String result;
    /**
     * 运输单价（元/吨）
     */
    private Float tranPrice;
    /**
     * 修改前
     */
    private Float beforeModification;
    /**
     * 修改后
     */
    private Float afterModification;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    public static class QueryFiles {

        public static final String DELETE_FLAG = "delete_flag";

        public static final String PROCESS_ID = "process_id";

    }

}
