using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace djy.Model {
[JsonObject(MemberSerialization.OptIn), Table(Name = "crm_info_client_visit", DisableSyncStructure = true)]
public partial class CrmInfoClientVisit {
///
/// 潜在客户GID
///
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
public string CLIENTGID { get; set; }
///
/// 客户联系人
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string CONTACTNAME { get; set; }
///
/// 创建时间
///
[JsonProperty]
public DateTime? CREATETIME { get; set; }
///
/// 创建人
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
///
/// 是否解锁
///
[JsonProperty]
public bool? ISLOCK { get; set; }
///
/// 解锁时间
///
[JsonProperty]
public DateTime? LOCKTIME { get; set; }
///
/// 解锁操作人
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string LOCKUSER { get; set; }
///
/// 最后一次更新操作时间
///
[JsonProperty]
public DateTime? MODIFIEDTIME { get; set; }
///
/// 最后一次更新操作人
///
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
///
/// 下次行动
///
[JsonProperty, Column(DbType = "varchar(50)")]
public string NEXTACTION { get; set; }
///
/// 下次行动内容
///
[JsonProperty, Column(DbType = "varchar(1024)")]
public string NEXTCONTENT { get; set; }
///
/// 下次回访时间
///
[JsonProperty]
public DateTime? NEXTDATE { get; set; }
///
/// 销售
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string SALE { get; set; }
///
/// 客户简称
///
[JsonProperty, Column(DbType = "varchar(20)")]
public string SHORTNAME { get; set; }
///
/// 拜访内容
///
[JsonProperty, Column(DbType = "varchar(1024)")]
public string VISITCONTENT { get; set; }
///
/// 拜访时间
///
[JsonProperty]
public DateTime? VISITDATE { get; set; }
///
/// 拜访方式
///
[JsonProperty, Column(DbType = "varchar(50)")]
public string VISITWAY { get; set; }
}
}