using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.Stock { /// /// 门店入库单列表 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class StoreStorageInTicket { /// /// 企业编号 /// [JsonProperty(PropertyName = "tenantId")] public string TenantId { get; set; } /// /// 单据ID /// [JsonProperty(PropertyName = "id")] public string Id { get; set; } /// /// 单据编号 /// [JsonProperty(PropertyName = "no")] public string No { get; set; } /// /// 门店ID /// [JsonProperty(PropertyName = "storeId")] public string StoreId { get; set; } /// /// 门店编号 /// [JsonProperty(PropertyName = "storeNo")] public string StoreNo { get; set; } /// /// 门店名称 /// [JsonProperty(PropertyName = "storeName")] public string StoreName { get; set; } /// /// 入库类型 /// [JsonProperty(PropertyName = "type")] public int Type { get; set; } /// /// 入库类型名称 /// [JsonProperty(PropertyName = "typeName")] public string TypeName { get; set; } /// /// 仓库ID /// [JsonProperty(PropertyName = "storageId")] public string StorageId { get; set; } /// /// 仓库名称 /// [JsonProperty(PropertyName = "storageName")] public string StorageName { get; set; } /// /// 备注说明 /// [JsonProperty(PropertyName = "description")] public string Description { get; set; } /// /// 单据状态 /// [JsonProperty(PropertyName = "status")] public int Status { get; set; } /// /// 单据状态转换 /// [JsonIgnore] public string StatusStr { get { string result = "未知"; switch (Status) { case 0: result = "新建"; break; case 1: result = "驳回"; break; case 2: result = "审核通过"; break; case 3: result = "已作废"; break; } return result; } } /// /// 制单人 /// [JsonProperty(PropertyName = "setMan")] public string SetMan { get; set; } /// /// 制单日期 /// [JsonProperty(PropertyName = "setDate")] public string SetDate { get; set; } /// /// 审核人 /// [JsonProperty(PropertyName = "checkMan")] public string CheckMan { get; set; } /// /// 审核日期 /// [JsonProperty(PropertyName = "checkDate")] public string CheckDate { get; set; } } }