PointInfo.java 4.84 KB
package vion.model;

import com.baomidou.mybatisplus.annotation.*;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Getter;
import lombok.Setter;
import vion.dto.PointInfoDTO;
import vion.vo.PointInfoVO;

import java.time.LocalDateTime;

/**
 * @author vion
 * @date 2024/1/8
 */
@Getter
@Setter
@TableName(value = "tbl_point_info")
@AutoMappers({
        @AutoMapper(target = PointInfoVO.class),
        @AutoMapper(target = PointInfoDTO.class),
})
public class PointInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 集团id
     */
    @TableField(value = "account_id")
    private Long accountId;

    /**
     * 项目名称(用户填写的)
     */
    @TableField(value = "project_name")
    private String projectName;

    /**
     * 联系人
     */
    @TableField(value = "contact", condition = SqlCondition.LIKE)
    private String contact;

    /**
     * 手机号码
     */
    @TableField(value = "phone", condition = SqlCondition.LIKE)
    private String phone;

    /**
     * 点位数量
     */
    @TableField(value = "point_num")
    private Integer pointNum;

    /**
     * 发货状态
     */
    @TableField(value = "shipping_status")
    private Integer shippingStatus;

    /**
     * 收货地址
     */
    @TableField(value = "shipping_address")
    private String shippingAddress;

    /**
     * 收货联系人
     */
    @TableField(value = "receiving_contact")
    private String receivingContact;

    /**
     * 收货联系电话
     */
    @TableField(value = "receiving_phone")
    private String receivingPhone;

    /**
     * 快递公司
     */
    @TableField(value = "courier_company")
    private String courierCompany;

    /**
     * 快递单号
     */
    @TableField(value = "tracking_number")
    private String trackingNumber;

    /**
     * 状态
     */
    @TableField(value = "\"status\"")
    private Integer status;

    /**
     * 合同编号
     */
    @TableField(value = "contract_no")
    private String contractNo;

    /**
     * 是否施工 0:不施工 1:施工
     */
    @TableField(value = "is_construct")
    private Integer isConstruct;

    /**
     * 施工地址
     */
    @TableField(value = "construct_address")
    private String constructAddress;

    /**
     * 施工联系人
     */
    @TableField(value = "construct_contact")
    private String constructContact;

    /**
     * 施工联系电话
     */
    @TableField(value = "construct_phone")
    private String constructPhone;

    /**
     * 是否开票 0:不开票 1:开票
     */
    @TableField(value = "is_invoice")
    private Integer isInvoice;

    /**
     * 发票类型 1:电子发票 2:纸质发票
     */
    @TableField(value = "invoice_type")
    private Integer invoiceType;

    /**
     * 发票种类 1:增值税专用发票 2:增值税普通发票
     */
    @TableField(value = "invoice_category")
    private Integer invoiceCategory;

    /**
     * 发票抬头
     */
    @TableField(value = "invoice_header")
    private String invoiceHeader;

    /**
     * 税号
     */
    @TableField(value = "tax_id_num")
    private String taxIdNum;

    /**
     * 单位地址
     */
    @TableField(value = "invoice_address")
    private String invoiceAddress;

    /**
     * 单位电话
     */
    @TableField(value = "invoice_phone")
    private String invoicePhone;

    /**
     * 开户银行
     */
    @TableField(value = "account_bank")
    private String accountBank;

    /**
     * 银行卡号
     */
    @TableField(value = "bank_number")
    private String bankNumber;

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

    /**
     * 发票邮寄地址
     */
    @TableField(value = "invoice_rec_address")
    private String invoiceRecAddress;

    /**
     * 发票联系人
     */
    @TableField(value = "invoice_contact")
    private String invoiceContact;

    /**
     * 发票联系电话
     */
    @TableField(value = "invoice_rec_phone")
    private String invoiceRecPhone;

    /**
     * 邮寄发票的快递公司
     */
    @TableField(value = "invoice_courier_company")
    private String invoiceCourierCompany;

    /**
     * 邮寄发票的快递单号
     */
    @TableField(value = "invoice_tracking_number")
    private String invoiceTrackingNumber;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 施工方
     */
    @TableField(value = "construction_side")
    private String constructionSide;

    /**
     * uuid
     */
    @TableField(value = "uuid")
    private String uuid;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}