File hash, isCompressed, set current date as default
This commit is contained in:
parent
b45830eda3
commit
677a33c706
|
|
@ -11,7 +11,8 @@ public class Files : MgEntityBase, IFiles
|
|||
public string FileName { get; set; }
|
||||
public string FileExtension { get; set; }
|
||||
public string RawText { get; set; }
|
||||
|
||||
public string FileHash { get; set; }
|
||||
public bool IsCompressed { get; set; }
|
||||
|
||||
[SkipValuesOnUpdate]
|
||||
public DateTime Created { get; set; }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace FruitBank.Common.Entities;
|
|||
[System.ComponentModel.DataAnnotations.Schema.Table(FruitBankConstClient.ShippingDbTableName)]
|
||||
public class Shipping : MgEntityBase, IShipping
|
||||
{
|
||||
public DateTime ShippingDate { get; set; }
|
||||
public DateTime ShippingDate { get; set; } = DateTime.Now;
|
||||
public string LicencePlate { get; set; }
|
||||
public bool IsAllMeasured { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ public class ShippingDocument : MgEntityBase, IShippingDocument
|
|||
|
||||
public string DocumentIdNumber { get; set; }
|
||||
public string PdfFileName { get; set; }
|
||||
public DateTime ShippingDate { get; set; }
|
||||
public DateTime ShippingDate { get; set; } = DateTime.Now;
|
||||
public string Country { get; set; }
|
||||
public int TotalPallets { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
<EditSettings>
|
||||
<DxComboBoxSettings Data="Shippings"
|
||||
ValueFieldName="Id"
|
||||
TextFieldName="ShippingDate"
|
||||
TextFieldName="LicencePlate"
|
||||
DropDownBodyCssClass="dd-body-class"
|
||||
ListRenderMode="ListRenderMode.Entire"
|
||||
SearchMode="ListSearchMode.AutoSearch"
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
</DxGridDataColumn>
|
||||
|
||||
<DxGridDataColumn FieldName="DocumentIdNumber" />
|
||||
<DxGridDataColumn FieldName="ShippingDate" />
|
||||
<DxGridDataColumn FieldName="ShippingDate" Caption="LoadDate" />
|
||||
<DxGridDataColumn FieldName="Country" />
|
||||
|
||||
<DxGridDataColumn FieldName="TotalPallets" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue