Breaking Change: Changed Kot/Voucher Table Name to Guid Foreign key
Breaking Change: Renamed Discontinued to IsActive and added NA field to products. Cleanup: Removed not used attributes Change: RoleConstants changed to simple string Feature: Table Create/Edit/Reorder and Modifier Create/Edit Form Feature: Bills now show the Tax name from the database and not a hack
This commit is contained in:
@ -7,6 +7,7 @@ namespace Tanshu.Accounts.Entities
|
||||
{
|
||||
public virtual Guid FoodTableID { get; set; }
|
||||
public virtual string Name { get; set; }
|
||||
public virtual bool IsActive { get; set; }
|
||||
public virtual string Location { get; set; }
|
||||
public virtual string Status { get; set; }
|
||||
public virtual int SortOrder { get; set; }
|
||||
@ -21,6 +22,7 @@ namespace Tanshu.Accounts.Entities
|
||||
Lazy(true);
|
||||
Id(x => x.FoodTableID, map => map.Generator(Generators.GuidComb));
|
||||
Property(x => x.Name, map => { map.NotNullable(true); map.Unique(true); });
|
||||
Property(x => x.IsActive);
|
||||
Property(x => x.Location);
|
||||
Property(x => x.Status);
|
||||
Property(x => x.VoucherID);
|
||||
|
||||
Reference in New Issue
Block a user