using OASystem.Domain.Attributes;
namespace OASystem.Domain.Entities.Customer
{
///
/// 客户公司表
///
[SugarTable("Crm_CustomerCompany")]
public class Crm_CustomerCompany:EntityBase
{
///
/// 客户公司名称
/// 简称
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(40)")]
public string? CompanyAbbreviation { get; set; }
///
/// 客户公司名称
/// 全称
///
[SugarColumn(IsNullable =true,ColumnDataType = "varchar(80)")]
[Encrypted]
public string? CompanyFullName { get; set; }
///
/// 公司地址
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(200)")]
public string? Address { get; set; }
///
/// 邮政编码
///
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(80)")]
public string? PostCodes { get; set; }
///
/// 最后操作人
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int LastedOpUserId { get; set; }
///
/// 最后操作时间
///
[SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
public DateTime LastedOpDt { get; set; } = DateTime.Now;
}
}