Company.java 4 KB
package com.huaheng.pc.config.company.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

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

@Data
@TableName(value = "company")
public class Company implements Serializable {
     @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 货主
     */
    @TableField(value = "code")
    private String code;

    /**
     * 仓库代码
     */
    @TableField(value = "warehouseCode")
    private String warehouseCode;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 联系人
     */
    @TableField(value = "attentionTo")
    private String attentionTo;

    /**
     * 地址1
     */
    @TableField(value = "address1")
    private String address1;

    /**
     * 地址2
     */
    @TableField(value = "address2")
    private String address2;

    /**
     * 区县
     */
    @TableField(value = "district")
    private String district;

    /**
     * 城市
     */
    @TableField(value = "city")
    private String city;

    /**
     * 省份
     */
    @TableField(value = "province")
    private String province;

    /**
     * 国家
     */
    @TableField(value = "country")
    private String country;

    /**
     * 邮编
     */
    @TableField(value = "postalCode")
    private String postalCode;

    /**
     * 联系电话
     */
    @TableField(value = "phoneNum")
    private String phoneNum;

    /**
     * 手机号
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 邮件地址
     */
    @TableField(value = "email")
    private String email;

    /**
     * 出库单前置
     */
    @TableField(value = "shipmentPrefix")
    private String shipmentPrefix;

    /**
     * 入库单前置
     */
    @TableField(value = "receiptPrefix")
    private String receiptPrefix;

    /**
     * 英文名
     */
    @TableField(value = "nameEn")
    private String nameEn;

    /**
     * 复核时是否打印单据
     */
    @TableField(value = "printDocAtChecked")
    private Integer printDocAtChecked;

    /**
     * 上位接口类型
     */
    @TableField(value = "hostInterfaceType")
    private String hostInterfaceType;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 创建用户
     */
    @TableField(value = "createdBy")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "lastUpdated")
    private Date lastUpdated;

    /**
     * 更新用户
     */
    @TableField(value = "lastUpdatedBy")
    private String lastUpdatedBy;

    /**
     * 数据版本
     */
    @TableField(value = "version")
    private Integer version;

    /**
     * 自定义字段1
     */
    @TableField(value = "userDef1")
    private String userDef1;

    /**
     * 自定义字段2
     */
    @TableField(value = "userDef2")
    private String userDef2;

    /**
     * 自定义字段3
     */
    @TableField(value = "userDef3")
    private String userDef3;

    /**
     * 自定义字段4
     */
    @TableField(value = "userDef4")
    private String userDef4;

    /**
     * 自定义字段5
     */
    @TableField(value = "userDef5")
    private String userDef5;

    /**
     * 自定义字段6
     */
    @TableField(value = "userDef6")
    private String userDef6;

    /**
     * 自定义字段7
     */
    @TableField(value = "userDef7")
    private String userDef7;

    /**
     * 自定义字段8
     */
    @TableField(value = "userDef8")
    private String userDef8;

    /**
     * 处理标记
     */
    @TableField(value = "processStamp")
    private String processStamp;

    @TableField(value = "deleted")
    private Boolean deleted;

    @TableField(exist = false)
    private boolean flag = false;

    private static final long serialVersionUID = 1L;


}