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.
 
 

71 lines
1.9 KiB

using Forks.EnterpriseServices.DomainObjects2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ButcherFactory.BO
{
[MapToTable("Butcher_ClientGoodsSet")]
public class ClientGoodsSet : BaseInfo
{
private List<ClientGoodsSet_Detail> mDetails = new List<ClientGoodsSet_Detail>();
[NonDmoProperty]
public List<ClientGoodsSet_Detail> Details { get { return mDetails; } }
}
[MapToTable("Butcher_ClientGoodsSet_Detail")]
[KeyField("ID", KeyGenType.assigned)]
public class ClientGoodsSet_Detail
{
public long ClientGoodsSet_ID { get; set; }
public long ID { get; set; }
public long Goods_ID { get; set; }
[ReferenceTo(typeof(Goods), "Name")]
[Join("Goods_ID", "ID")]
public string Goods_Name { get; set; }
[ReferenceTo(typeof(Goods), "Spec")]
[Join("Goods_ID", "ID")]
public string Goods_Spec { get; set; }
[ReferenceTo(typeof(Goods), "Code")]
[Join("Goods_ID", "ID")]
public string Goods_Code { get; set; }
[ReferenceTo(typeof(Goods), "GoodsType")]
[Join("Goods_ID", "ID")]
public short? GoodsType { get; set; }
[ReferenceTo(typeof(Goods), "MainUnit")]
[Join("Goods_ID", "ID")]
public string MainUnit { get; set; }
[ReferenceTo(typeof(Goods), "ShotPrintName")]
[Join("Goods_ID", "ID")]
public string ShotPrintName { get; set; }
[ReferenceTo(typeof(Goods), "EachNumber")]
[Join("Goods_ID", "ID")]
public int? EachNumber { get; set; }
public decimal? StandardWeight { get; set; }
public decimal? StandardWeightUp { get; set; }
public decimal? StandardWeightLow { get; set; }
[DbColumn(DefaultValue = 0)]
public bool StandardPic { get; set; }
[DbColumn(DefaultValue = 0)]
public bool NoTotalCode { get; set; }
[NonDmoProperty]
public bool Selected { get; set; }
}
}