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