using System; using System.Collections.Generic; using System.Linq; using System.Text; using FireBirdUtil.DataTypes; using FireBirdUtil.SqlHelpers; using WeighBusiness.BL; using WeighBusiness.Utils; using WeighBusiness.Utils.SqlUtils; namespace WeighBusiness.BO.CreateTables { public class CreatePSInfoTable : CreateBaseTable { public CreatePSInfoTable(string tableName) : base(tableName) { } public override void AddFields(CreateTableHelper cth) { cth.AddField(new FieldInfo() { FieldName = "ProductShift_ID", FieldType = FBType.Integer }); cth.AddField(new FieldInfo() { FieldName = "TareSet", FieldType = FBType.Varchar, FieldTypeParams = "(100)" }); cth.AddField(new FieldInfo() { FieldName = "Store_ID", FieldType = FBType.Integer }); cth.AddField(new FieldInfo() { FieldName = "RowVersion", FieldType = FBType.Integer }); cth.AddField(new FieldInfo() { FieldName = "BillSet", FieldType = FBType.Varchar, FieldTypeParams = "(100)" }); cth.AddField(new FieldInfo() { FieldName = "WindowSet", FieldType = FBType.Varchar, FieldTypeParams = "(100)" }); cth.AddField(new FieldInfo() { FieldName = "GoodsInStore_ID", FieldType = FBType.Integer }); base.AddFields(cth); } } }