public StoreDto(string id, string name, string location, DetailDto status)
 {
     this.id       = id;
     this.name     = name;
     this.location = location;
     this.status   = status;
 }
Exemple #2
0
 public StoreMaterialDto(DetailDto simpleStore, MaterialDto simpleMaterial, long amount, string unit, string status)
 {
     this.simpleStore    = simpleStore;
     this.simpleMaterial = simpleMaterial;
     this.amount         = amount;
     this.unit           = unit;
     this.status         = status;
 }
Exemple #3
0
 public TransactionByMaterialDto(DateTime time, DetailDto exahangeStore, DetailDto staff, DetailDto transactionType, DetailDto status, DetailDto material, long materialAmount, string unit)
 {
     this.time            = time;
     this.exahangeStore   = exahangeStore;
     this.staff           = staff;
     this.transactionType = transactionType;
     this.status          = status;
     this.material        = material;
     this.materialAmount  = materialAmount;
     this.unit            = unit;
 }
Exemple #4
0
 public MaterialDto(int id, string name, DetailDto supplier, int barcode, DetailDto type, string changeUnit, DetailDto status, string exp)
 {
     this.id         = id;
     this.name       = name;
     this.supplier   = supplier;
     this.barcode    = barcode;
     this.type       = type;
     this.changeUnit = changeUnit;
     this.status     = status;
     this.exp        = exp;
 }
Exemple #5
0
 public StaffDto(string id, string name, string gmail, DetailDto position, StoreDto store, DetailDto status, string picUrl, string accessToken)
 {
     this.id          = id;
     this.name        = name;
     this.gmail       = gmail;
     this.position    = position;
     this.store       = store;
     this.status      = status;
     this.picUrl      = picUrl;
     this.accessToken = accessToken;
 }
 public TransactionDto(int id, DetailDto exchangeStore, DetailDto store,
                       DateTime time, DetailDto staff, DetailDto transactionType, DetailDto status, List <TransactionMaterialAmountDto> detail)
 {
     this.id              = id;
     this.exchangeStore   = exchangeStore;
     this.store           = store;
     this.time            = time;
     this.staff           = staff;
     this.transactionType = transactionType;
     this.status          = status;
     this.detail          = detail;
 }
Exemple #7
0
 public StaffDto(long id, string name, string gmail, DetailDto position, StoreDto store, DetailDto status, string picUrl, string authToken, string deviceToken)
 {
     this.id          = id;
     this.name        = name;
     this.gmail       = gmail;
     this.position    = position;
     this.store       = store;
     this.status      = status;
     this.picUrl      = picUrl;
     this.authToken   = authToken;
     this.deviceToken = deviceToken;
 }
Exemple #8
0
 public TransactionMaterialAmountDto(DetailDto material, long materialAmount, string unit)
 {
     this.material       = material;
     this.materialAmount = materialAmount;
     this.unit           = unit;
 }
 public StoreMaterialDto(DetailDto simpleStore, DetailDto simpleMaterial, long amount)
 {
     this.simpleStore    = simpleStore;
     this.simpleMaterial = simpleMaterial;
     this.amount         = amount;
 }
 public TransactionMaterialAmountDto(DetailDto materialId, long materialAmount)
 {
     this.material       = materialId;
     this.materialAmount = materialAmount;
 }