package com.prolog.cs.biz.outbound.model.entity;

import com.prolog.framework.core.annotation.Column;
import com.prolog.framework.core.annotation.Id;
import com.prolog.framework.core.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @author cheng.kong
 * @date 2022/8/3   17:03
 */
@Data
@ApiModel("运费录入")
@Table(value = "freight_enter")
public class FreightEnter implements Serializable {

    @Id
    @ApiModelProperty(value = "主键id")
    @Column(value = "id")
    private String id;

    @ApiModelProperty(value = "仓库id")
    @Column(value = "warehouse_id")
    private String warehouseId;

    @ApiModelProperty(value = "仓编码")
    @Column(value = "warehouse_code")
    private String warehouseCode;

    @ApiModelProperty(value = "仓名称")
    @Column(value = "warehouse_name")
    private String warehouseName;

    @ApiModelProperty("运单号")
    @Column(value = "ship_no")
    private String shipNo;

    @ApiModelProperty("货号")
    @Column(value = "item_no")
    private String itemNo;

    @ApiModelProperty(value = "客户编号")
    @Column(value = "customer_code")
    private String customerCode;

    @ApiModelProperty(value = "客户名称")
    @Column(value = "customer_name")
    private String customerName;

    @ApiModelProperty("联系方式")
    @Column(value = "contact_way")
    private String contactWay;

    @ApiModelProperty("客户代收款")
    @Column(value = "agency_fund")
    private Double agencyFund;

    @ApiModelProperty("运费")
    @Column(value = "freight_price")
    private Double freightPrice;

    @ApiModelProperty("上门费")
    @Column(value = "visit_price")
    private Double visitPrice;

    @ApiModelProperty("箱数")
    @Column(value = "box_number")
    private Double boxNumber;

    @ApiModelProperty("付运费方式")
    @Column(value = "freight_way_code")
    private String freightWayCode;

    @ApiModelProperty("付运费方式")
    @Column(value = "freight_way_name")
    private String freightWayName;

    @ApiModelProperty(value = "状态")
    @Column(value = "status")
    private String status;

    @ApiModelProperty(value = "创建人")
    @Column(value = "create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @Column(value = "create_date")
    private Date createDate;

    @ApiModelProperty(value = "修改人")
    @Column(value = "last_modify_by")
    private String lastModifyBy;

    @ApiModelProperty(value = "修改时间")
    @Column(value = "last_modify_date")
    private Date lastModifyDate;

    @ApiModelProperty(value = "企业ID")
    @Column(value = "enterprise_id")
    private String enterpriseId;
}
