package com.cool.store.entity;

import lombok.Data;
import javax.persistence.*;
import java.util.Date;

@Data // 自动生成 getter、setter、toString 等方法
@Entity // 标记为 JPA 实体类
@Table(name = "xfsg_order_sys_info") // 指定表名
public class OrderSysInfoDO {

    /** 主键ID */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;

    /** 店铺ID */
    @Column(name = "shop_id")
    private Long shopId;

    /** 副总裁 */
    @Column(name = "xgj_vice_president")
    private String xgjVicePresident;

    /** 新管家对应组织id */
    @Column(name = "xgj_region_id")
    private String xgjRegionId;

    /** 新管家对应组织name */
    @Column(name = "xgj_region_name")
    private String xgjRegionName;
    /** 收件人 */
    @Column(name = "addressee_name")
    private String addresseeName;

     /** 手机号 */
    @Column(name = "addressee_mobile")
    private String addresseeMobile;

    /** 收件省 */
    @Column(name = "addressee_province")
    private String addresseeProvince;

    /** 收件市 */
    @Column(name = "addressee_city")
    private String addresseeCity;

    /** 收件区 */
    @Column(name = "addressee_district")
    private String addresseeDistrict;

    /** 详细地址 */
    @Column(name = "addressee_address")
    private String addresseeAddress;

    /** 报货物流仓库（编码） */
    @Column(name = "declare_goods_logistics_warehouse")
    private String declareGoodsLogisticsWarehouse;

    /** 报货类型 */
    @Column(name = "declare_goods_type")
    private String declareGoodsType;

    /** 报货日期 */
    @Column(name = "declare_goods_date")
    private String declareGoodsDate;

    /** 仓库配送日期 */
    @Column(name = "warehouse_delivery_date")
    private String warehouseDeliveryDate;

    /** 订货信息创建时间 */
    @Column(name = "order_create_time")
    private Date orderCreateTime;

    /** 订货信息修改时间 */
    @Column(name = "order_update_time")
    private Date orderUpdateTime;

    /** 订货信息创建人 */
    @Column(name = "order_create_user")
    private String orderCreateUser;

    /** 订货信息修改人 */
    @Column(name = "order_update_user")
    private String orderUpdateUser;

    /** 收款公司名称 */
    @Column(name = "receiving_firm_name")
    private String receivingFirmName;

    /** 收款公司民生银行账号 */
    @Column(name = "receiving_ms_bank_account")
    private String receivingMsBankAccount;

    /** 收款公司民生银行支行 */
    @Column(name = "receiving_ms_bank_branch")
    private String receivingMsBankBranch;

    /** 银行银联号 */
    @Column(name = "bank_unionPay_account")
    private String bankUnionPayAccount;

    /** 总部订货收款创建时间 */
    @Column(name = "receiving_create_time")
    private Date receivingCreateTime;

    /** 总部订货收款修改时间 */
    @Column(name = "receiving_update_time")
    private Date receivingUpdateTime;

    /** 总部订货收款创建人 */
    @Column(name = "receiving_create_user")
    private String receivingCreateUser;

    /** 总部订货收款修改人 */
    @Column(name = "receiving_update_user")
    private String receivingUpdateUser;

    /** 订货方式，0先款后货、1先货后款 */
    @Column(name = "order_type")
    private Integer orderType;

    /** 订货备注 */
    @Column(name = "order_remark")
    private String orderRemark;
}