using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Casting { public class CastingDTO { #region PrivateMembers #region Casting private int castingid; //Id private string castingnumber; //Number #region OrganizationUnit private int ouid; //Id private string oucode; //Code private string ouname; //Name #endregion #region Period private int periodid; //Id private string periodcode; //Code private string periodname; //Name private DateTime periodfromdate; //FromDate private DateTime periodtodate; //ToDate #endregion #region BizTransactionType private int biztransactiontypeid; //Id private string biztransactiontypecode; //Code private string biztransactiontypename; //Name #endregion private DateTime castingdate; //Date #endregion #region Store private int storeid = -1; //Id private string storecode; //Code private string storename; //Name #endregion #region Base private byte castingstatus; //Status private Int16 castingversion; //Version #endregion #region Standard private int castingcreatedbyid; //CreatedById private DateTime castingcreatedon; //CreatedOn private int castingmodifiedbyid; //ModifiedById private DateTime castingmodifiedon; //ModifiedOn #endregion private List castingdetailarray = new List(); #endregion #region PublicMembers #region Casting public int CastingId { get { return castingid; } //Id set { castingid = value; } //Id } public string CastingNumber { get { return castingnumber; } //Number set { castingnumber = value; } //Number } #region OrganizationUnit public int OUId { get { return ouid; } //Id set { ouid = value; } //Id } public string OUCode { get { return oucode; } //Code set { oucode = value; } //Code } public string OUName { get { return ouname; } //Name set { ouname = value; } //Name } #endregion #region Period public int PeriodId { get { return periodid; } //Id set { periodid = value; } //Id } public string PeriodCode { get { return periodcode; } //Code set { periodcode = value; } //Code } public string PeriodName { get { return periodname; } //Name set { periodname = value; } //Name } public DateTime PeriodFromDate { get { return periodfromdate; } //FromDate set { periodfromdate = value; } //FromDate } public DateTime PeriodToDate { get { return periodtodate; } //ToDate set { periodtodate = value; } //ToDate } #endregion #region BizTransactionType public int BizTransactionTypeId { get { return biztransactiontypeid; } //Id set { biztransactiontypeid = value; } //Id } public string BizTransactionTypeCode { get { return biztransactiontypecode; } //Code set { biztransactiontypecode = value; } //Code } public string BizTransactionTypeName { get { return biztransactiontypename; } //Name set { biztransactiontypename = value; } //Name } #endregion public DateTime CastingDate { get { return castingdate; } //Date set { castingdate = value; } //Date } #endregion #region Store public int StoreId { get { return storeid; } //Id set { storeid = value; } //Id } public string StoreCode { get { return storecode; } //Code set { storecode = value; } //Code } public string StoreName { get { return storename; } //Name set { storename = value; } //Name } #endregion #region Base public byte CastingStatus { get { return castingstatus; } //Status set { castingstatus = value; } //Status } public Int16 CastingVersion { get { return castingversion; } //Version set { castingversion = value; } //Version } #endregion #region Standard public int CastingCreatedById { get { return castingcreatedbyid; } //CreatedById set { castingcreatedbyid = value; } //CreatedById } public DateTime CastingCreatedOn { get { return castingcreatedon; } //CreatedOn set { castingcreatedon = value; } //CreatedOn } public int CastingModifiedById { get { return castingmodifiedbyid; } //ModifiedById set { castingmodifiedbyid = value; } //ModifiedById } public DateTime CastingModifiedOn { get { return castingmodifiedon; } //ModifiedOn set { castingmodifiedon = value; } //ModifiedOn } #endregion public List CastingDetailArray { get { return castingdetailarray; } set { castingdetailarray = value; } } #endregion } }