package com.ruoyi.basic.entity;
|
|
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 com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.MyBaseEntity;
|
import lombok.Data;
|
|
/**
|
* 实体类
|
*
|
* @author ruoyi
|
* @date 2025-06-03
|
*/
|
@Data
|
@TableName("customer")
|
public class Customer extends MyBaseEntity {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 客户唯一标识,主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
/**
|
* 客户名称,不能为空
|
*/
|
@Excel(name = "客户名称")
|
@TableField(value = "customer_name")
|
private String customerName;
|
/**
|
* 纳税人识别号,中国大陆为统一社会信用代码,不能为空
|
*/
|
@Excel(name = "纳税人识别号")
|
@TableField(value = "taxpayer_id")
|
private String taxpayerId;
|
/**
|
* 经营地址所在省份的地区ID,默认0
|
*/
|
@TableField(value = "business_province_id")
|
private Long businessProvinceId;
|
/**
|
* 经营地址所在城市的地区ID,默认0
|
*/
|
@TableField(value = "business_city_id")
|
private Long businessCityId;
|
/**
|
* 经营地址所在区县的地区ID,默认0
|
*/
|
@TableField(value = "business_district_id")
|
private Long businessDistrictId;
|
/**
|
* 经营详细地址,默认空字符串
|
*/
|
@Excel(name = "经营详细地址")
|
@TableField(value = "business_address")
|
private String businessAddress;
|
/**
|
* 银行账户号码,默认空字符串
|
*/
|
@Excel(name = "银行账户")
|
@TableField(value = "bank_account")
|
private String bankAccount;
|
/**
|
* 开户银行名称,默认空字符串
|
*/
|
@Excel(name = "开户行")
|
@TableField(value = "bank_name")
|
private String bankName;
|
/**
|
* 客户联系人姓名,默认空字符串
|
*/
|
@Excel(name = "联系人")
|
@TableField(value = "contact_person")
|
private String contactPerson;
|
/**
|
* 联系人电话号码,默认空字符串
|
*/
|
@Excel(name = "联系人电话")
|
@TableField(value = "contact_phone")
|
private String contactPhone;
|
/**
|
* 联系地址所在省份的地区ID,默认0
|
*/
|
@TableField(value = "province_id")
|
private Long provinceId;
|
/**
|
* 联系地址所在城市的地区ID,默认0
|
*/
|
@TableField(value = "city_id")
|
private Long cityId;
|
/**
|
* 联系地址所在区县的地区ID,默认0
|
*/
|
@TableField(value = "district_id")
|
private Long districtId;
|
/**
|
* 联系详细地址,默认空字符串
|
*/
|
@Excel(name = "联系详细地址")
|
@TableField(value = "contact_address")
|
private String contactAddress;
|
}
|