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