40 lines
983 B
C#
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; }
|
|
}
|
|
}
|