Files
zszq-trs/Framework/YLErp.Core/DBModels/ClientMeta.cs
T
2024-05-09 14:06:26 +08:00

40 lines
983 B
C#

using System.ComponentModel.DataAnnotations.Schema;
namespace YLErp.DBModels
{
[Table("client_meta")]
public class ClientMeta : DBModelWithOperator
{
public const string ConfirmBook = "确认书模板";
public const string SettlementBook = "结算单模板";
public const string Mail = "邮件模板";
public int ClientId { get; set; }
public string MetaKey { get; set; }
public string MetaValue { get; set; }
}
[NotMapped]
public class ClientMetaDto : ClientMeta
{
}
public class ConfirmsTemplate
{
public int meta_id { get; set; }
public List<int> Clients { get; set; }
[DisplayName("客户名")]
public string ClientName { get; set; }
public int ClientId { get; set; }
[DisplayName("文件类型")]
public string fileType { get; set; }
[DisplayName("文件名")]
public string fileName { get; set; }
}
}