using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Ys.Core.Common; using FreeSql.DataAnnotations; namespace djy.Paas.Model { /// /// 报关单货主订单 /// public class tb_BaoguanOrderClient:DataBase { /// /// 报关关联Gid /// /// public Guid? BaoguanOrderGid {get;set;} /// /// 提单号 /// public string ShipOrderNo { get; set; } /// /// 票数 /// /// public int PollCount{get;set;} /// /// 报关行 /// public string BaoguanAgent { get; set; } /// /// 进出口类型 I进口 E出口 /// public string IEFlag { get; set; } /// /// 进出口名称 /// [Column(IsIgnore =true)] public string IEFlanName { get { return IEFlag.IsNull() ? "" : IEFlag == "I" ? "进口" : "出口"; } } /// /// 备注 /// /// [Column(StringLength =-1)] public string Memo{get;set;} /// /// 附件文件地址 /// /// [Column(StringLength =-1)] public string FileUrl{get;set;} /// /// /// [Column(IsIgnore =true)] public List FileList { get { if (FileUrl.IsNotNull()) { return YsJson.JsonToObject>(FileUrl); } else { return new List(); } } set { if (value != null) { FileUrl = YsJson.ToJson(value); } } } /// /// 企业ID /// public Guid? CompGId { get; set; } /// /// 企业名称 /// public string CompName { get; set; } /// /// 用户Gid /// public Guid? UserGid { get; set; } } }