package com.ruoyi.tms.domain;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.annotation.Excel;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import java.util.Date;
|
|
import lombok.Data;
|
|
/**
|
* 收发货人管理对象 tms_consignor
|
*
|
* @author ruoyi
|
* @date 2025-11-02
|
*/
|
@Data
|
public class TmsConsignor {
|
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
|
/**
|
* 收发货人编码
|
*/
|
@Excel(name = "收发货人编码")
|
@TableField("consignor_code")
|
private String consignorCode;
|
|
|
/**
|
* 收发货人名称
|
*/
|
@Excel(name = "收发货人名称")
|
@TableField("consignor_name")
|
private String consignorName;
|
|
|
/**
|
* 所属客户(关联客户管理)
|
*/
|
@Excel(name = "所属客户", readConverterExp = "关=联客户管理")
|
@TableField("customer_id")
|
private Integer customerId;
|
|
@TableField("customer_name")
|
private String customerName;
|
|
|
/**
|
* 客户系统编码(关联客户管理)
|
*/
|
@Excel(name = "客户系统编码", readConverterExp = "关=联客户管理")
|
@TableField("customer_sys_code")
|
private String customerSysCode;
|
|
|
/**
|
* 收发货人类型:0=站点,1=工厂,2=码头,3=工地,4=门店,5=机场,6=经销商,7=车站
|
*/
|
@Excel(name = "收发货人类型:0=站点,1=工厂,2=码头,3=工地,4=门店,5=机场,6=经销商,7=车站")
|
@TableField("consignor_type")
|
private Integer consignorType;
|
|
|
/**
|
* 联系人姓名
|
*/
|
@Excel(name = "联系人姓名")
|
@TableField("contact_name")
|
private String contactName;
|
|
|
/**
|
* 联系人电话
|
*/
|
@TableField("contact_phone")
|
private String contactPhone;
|
|
|
/**
|
* 联系人邮箱
|
*/
|
@TableField("contact_email")
|
private String contactEmail;
|
|
|
/**
|
* 国家ID
|
*/
|
@TableField("country_id")
|
private String countryId;
|
|
|
/**
|
* 省份ID
|
*/
|
@TableField("province_id")
|
private String provinceId;
|
|
|
/**
|
* 市ID
|
*/
|
@TableField("city_id")
|
private String cityId;
|
|
|
/**
|
* 区ID
|
*/
|
@TableField("district_id")
|
private String districtId;
|
|
|
/**
|
* 街道ID
|
*/
|
@TableField("street_id")
|
private String streetId;
|
|
|
/**
|
* 详细地址
|
*/
|
@TableField("address_detail")
|
private String addressDetail;
|
|
|
/**
|
* 调度单运输地
|
*/
|
@Excel(name = "调度单运输地")
|
@TableField("dispatch_transport_area")
|
private String dispatchTransportArea;
|
|
|
/**
|
* 地图位置(经纬度)
|
*/
|
@TableField("map_location")
|
private String mapLocation;
|
|
|
/**
|
* 状态:0=正常,1=停用
|
*/
|
@Excel(name = "状态:0=正常,1=停用")
|
@TableField("status")
|
private Integer status;
|
|
|
/**
|
* 创建人
|
*/
|
@Excel(name = "创建人")
|
@TableField("create_by")
|
private String createBy;
|
|
|
/**
|
* 创建时间
|
*/
|
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField("create_time")
|
private Date createTime;
|
|
|
/**
|
* 更新人
|
*/
|
@Excel(name = "更新人")
|
@TableField("update_by")
|
private String updateBy;
|
|
|
/**
|
* 更新时间
|
*/
|
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField("update_time")
|
private Date updateTime;
|
|
|
/**
|
* 备注
|
*/
|
@TableField("remark")
|
private String remark;
|
|
|
}
|