You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FireBirdUtil.DataTypes;
using FireBirdUtil.SqlHelpers;
namespace WeighBusiness.BO.CreateTables
{
public class CreateGoodsWeightFloat_Detail : CreateBaseTable
{
public CreateGoodsWeightFloat_Detail(string tableName) : base(tableName) { }
public override void AddFields(CreateTableHelper cth)
{
cth.AddField(new FieldInfo() { FieldName = "GoodsWeightFloat_ID", FieldType = FBType.Integer, IsNotNull = true });
cth.AddField(new FieldInfo() { FieldName = "Goods_ID", FieldType = FBType.Integer, IsNotNull = true });
cth.AddField(new FieldInfo() { FieldName = "DetailID", FieldType = FBType.Integer, IsNotNull = true });
cth.AddField(new FieldInfo() {
FieldName = "StandardWeight",
FieldType = FBType.Decimal,
FieldTypeParams = "(18,6)",
IsNotNull = false
});
cth.AddField(new FieldInfo() {
FieldName = "UpWeight",
FieldType = FBType.Decimal,
FieldTypeParams = "(18,6)",
IsNotNull = false
});
base.AddFields(cth);
}
}
}