package com.stylefeng.guns.modular.system.model;
|
|
import java.time.LocalDateTime;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author administrator
|
* @since 2023-04-12
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_transportation")
|
public class TTransportation extends Model<TTransportation> {
|
|
private static final long serialVersionUID=1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
@TableField("order_id")
|
private Long orderId;
|
@TableField("driver_id")
|
private Integer driverId;
|
|
private String name;
|
|
private String phone;
|
|
private String email;
|
@TableField("power_unit")
|
private Integer powerUnit;
|
|
private Integer chassises;
|
@TableField("empty_date")
|
private Date emptyDate;
|
@TableField("return_date")
|
private Date returnDate;
|
@TableField("pick_date")
|
private Date pickDate;
|
@TableField("yard_id")
|
private Integer yardId;
|
@TableField("port_id")
|
private Integer portId;
|
private Integer type;
|
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|