using Business.Model;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Bussiness.Model.SystemData
{
///
/// 客户
///
[Description("客户")]
public class crm_customer:BaseEntity
{
/////
///// 客户主键id
/////
//[Key]
//[Description("客户主键id")]
//public long customer_id { get; set; }
///
/// 客户编号
///
[StringLength(80)]
[Description("客户编号")]
public string? customer_no { get; set; }
///
/// 客户名称
///
[StringLength(255)]
[Description("客户名称")]
public string? customer_name { get; set; }
///
/// 客户级别
///
[StringLength(255)]
[Description("客户级别")]
public string? customer_level { get; set; }
///
/// 手机号码
///
[StringLength(80)]
[Description("手机号码")]
public string? mobile { get; set; }
///
/// 电话号码
///
[StringLength(80)]
[Description("电话号码")]
public string? telephone { get; set; }
///
/// 邮件地址
///
[StringLength(80)]
[Description("邮件地址")]
public string? email { get; set; }
///
/// 联系人
///
[StringLength(80)]
[Description("联系人")]
public string? contact { get; set; }
///
/// 邮政编码
///
[StringLength(80)]
[Description("邮政编码")]
public string? post_code { get; set; }
///
/// 国别地区
///
[StringLength(255)]
[Description("国别地区")]
public string? country { get; set; }
///
/// 省份
///
[StringLength(255)]
[Description("省份")]
public string? province { get; set; }
///
/// 城市
///
[StringLength(255)]
[Description("城市")]
public string? city { get; set; }
///
/// 区
///
[StringLength(255)]
[Description("区")]
public string? region { get; set; }
///
/// 地址
///
[StringLength(255)]
[Description("地址")]
public string? address { get; set; }
///
/// 销售模式
///
[StringLength(255)]
[Description("销售模式")]
public string? sale_mode { get; set; }
///
/// 客户简称
///
[StringLength(255)]
[Description("客户简称")]
public string? short_name { get; set; }
///
/// 客户简码
///
[StringLength(255)]
[Description("客户简码")]
public string? short_number { get; set; }
///
/// 状态
///
[StringLength(80)]
[Description("状态")]
public string? state { get; set; }
///
/// 增值税率
///
[Precision(18,10)]
[Description("增值税率")]
public decimal? value_add_rate { get; set; }
///
/// 默认运输提前期_天
///
[Required]
[Description("默认运输提前期_天")]
public int? carrying_aos { get; set; }
///
/// 法人代表
///
[StringLength(255)]
[Description("法人代表")]
public string? corperate { get; set; }
///
/// 结算币种
///
[StringLength(80)]
[Description("结算币种")]
public string? currency { get; set; }
///
/// 专营业务员
///
[StringLength(80)]
[Description("专营业务员")]
public string? employee_name { get; set; }
///
/// 专营业务员_工号
///
[StringLength(80)]
[Description("专营业务员_工号")]
public string? employee_no { get; set; }
///
/// 操作时间
///
[Description("操作时间")]
public DateTime? op_time { get; set; }
///
/// 客户类别编码
///
[StringLength(255)]
[Description("客户类别编码")]
public string? cust_type_number { get; set; }
///
/// 客户类别
///
[StringLength(255)]
[Description("客户类别")]
public string? cust_type { get; set; }
///
/// 客户分组编号
///
[StringLength(255)]
[Description("客户分组编号")]
public string? cust_group_number { get; set; }
///
/// 客户分组名称
///
[StringLength(255)]
[Description("客户分组名称")]
public string? cust_group_name { get; set; }
}
}