package com.pj.project.tb_business_car;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.EqualsAndHashCode;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Model: tb_business_car -- 
 * @author qzy 
 */
@Data
@Accessors(chain = true)
@TableName(TbBusinessCar.TABLE_NAME)
@EqualsAndHashCode(callSuper = false)
public class TbBusinessCar extends Model<TbBusinessCar> implements Serializable {

	// ---------- 模块常量 ----------
	/**
	 * 序列化版本id 
	 */
	private static final long serialVersionUID = 1L;	
	/**
	 * 此模块对应的表名 
	 */
	public static final String TABLE_NAME = "tb_business_car";	
	/**
	 * 此模块对应的权限码 
	 */
	public static final String PERMISSION_CODE = "tb-business-car";
	public static final String PERMISSION_LIST = "tb-business-car-list";


	// ---------- 表中字段 ----------
	/**
	 *  
	 */
	private String id;

	/**
	 *  
	 */
	private String businessId;

	private String customerId;

	/**
	 *  
	 */
	private String carNo;	

	/**
	 *  
	 */
	private Date preInTime;

	/**
	 *  
	 */
	private Date preOutTime;

	/**
	 *  
	 */
	private Date realInTime;

	/**
	 *  
	 */
	private Date realOutTime;

	/**
	 *  
	 */
	private BigDecimal money;

	/**
	 *  
	 */
	private String driverPhone;
	private String driverName;

	private Double carSize;
	/**
	 * 是否支付 0 否 1 是
	 */
	private Integer pay;
	private Date payTime;
	private BigDecimal basePartMoney;
	private String inChannel;
	private String outChannel;
	@TableField(value = "is_lock")
	private Integer isLock;





	


}
