public Designer(ProjectSIA.Designer designer) { Id = designer.id; Name = designer.name; Phone = designer.phone; Picture = designer.picture; }
public LogWarehouse(ProjectSIA.LogWarehouse logWarehouse) { Id = logWarehouse.id; WarehouseDate = logWarehouse.warehouseDate; ProductInfoId = logWarehouse.productInfoId; WarehouseCount = logWarehouse.warehouseCount; BadCount = logWarehouse.badCount; Others = logWarehouse.others; }
//public ProductInfo ProductInfo { get { return ProductInfoManager.GetProductInfo(db, ProductInfoId); } } //public Order Order { get { return null; } } /// <summary> /// 상품 생성한다. /// 상품 등록시에만 쓰도록 한다. /// </summary> /// <param name="productInfoId"></param> public Product(ProjectSIA.Product product) { Id = product.id; ProductInfoId = product.productInfoId; Status = (ProductStatus)Enum.Parse(typeof(ProductStatus), product.status); OrderId = product.orderId; WarehouseDate = product.warehouseDate; Price = product.price; }
public Store(ProjectSIA.Store dbStore) { Id = dbStore.id; Name = dbStore.name; BeginDate = dbStore.beginDate; EndDate = dbStore.endDate; Type = dbStore.type.ParseEnum<StoreType>(); Rule = dbStore.rule.ParseEnum<StoreRule>(); Value = dbStore.value; }
public ProductInfo(ProjectSIA.ProductInfo productInfo) { Id = productInfo.id; Type1 = productInfo.type1; Type2 = productInfo.type2; Type3 = productInfo.type3; Name = productInfo.name; Price = productInfo.price; RegDate = productInfo.regDate; }
public Member(ProjectSIA.Member member) { Id = member.id; Name = member.name; Phone = member.phone; Address = member.address; IsOrg = member.isOrg; OrgName = member.orgName; IsVip = member.isVip; }