using Chuanyin.Attribute;
using CoreCms.Net.Model.Entities.baseModel;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreCms.Net.Model.Entities.baifenbingfa.Promote.OffLineDistributor
{
///
/// 线下经销商
///
[Display(Name = "线下经销商采集")]
[SugarTable(TableDescription = "线下经销商采集")]
[SqlCodeFirst]
public partial class OfflineDistributor: BFBaseModel
{
///
/// 主键ID,自增长
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键ID")]
public int Id { get; set; }
///
/// 信息收集时间
///
[SugarColumn(IsNullable = false, ColumnDescription = "信息收集时间")]
public DateTime CollectionTime { get; set; } = DateTime.Now;
///
/// 区域信息
///
[SugarColumn(IsNullable = true, ColumnDescription = "区域信息")]
public string Region { get; set; }
///
/// 详细地址
///
[SugarColumn(IsNullable = true, ColumnDescription = "详细地址")]
public string Adder { get; set; }
///
/// 类别
///
[SugarColumn(IsNullable = false, ColumnDescription = "类别")]
public string Category { get; set; }
///
/// 学校名称(若适用)
///
[SugarColumn(IsNullable = true, ColumnDescription = "学校名称")]
public string School { get; set; }
///
/// 经销商名称
///
[SugarColumn(IsNullable = false, ColumnDescription = "经销商名称")]
public string DealerName { get; set; }
///
/// 联系人姓名
///
[SugarColumn(IsNullable = false, ColumnDescription = "联系人姓名")]
public string ContactPerson { get; set; }
///
/// 联系电话
///
[SugarColumn(IsNullable = true, ColumnDescription = "联系电话")]
public string PhoneNumber { get; set; }
///
/// 店招图片地址
///
[SugarColumn(IsNullable = false, ColumnDescription = "店招图片地址",Length =65535)]
public string StoreLogoUrl { get; set; }
///
/// 合作意向描述
///
[SugarColumn(IsNullable = false, ColumnDescription = "合作意向描述")]
public string CooperationIntent { get; set; }
///
/// 业务经理姓名
///
[SugarColumn(IsNullable = true, ColumnDescription = "业务经理姓名")]
public string BusinessManager { get; set; }
///
/// 洽谈记录
///
[SugarColumn(IsNullable = true, ColumnDescription = "洽谈记录")]
public string NegotiationRecord { get; set; }
///
/// 关联用户ID
///
[SugarColumn(IsNullable = true, ColumnDescription = "关联用户ID")]
public int? UserID { get; set; }
///
/// 收集人ID
///
[SugarColumn(IsNullable = true, ColumnDescription = "收集人ID")]
public int? PUserID { get; set; }
///
/// 备注
///
[SugarColumn(IsNullable = true, ColumnDescription = "备注")]
public string Remake { get; set; }
///
/// 是否合作
///
[SugarColumn(IsNullable = true, ColumnDescription = "是否合作", DefaultValue = "0")]
public bool IsMeeting { get; set; } = false;
}
}