123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- using System;
- using System.ComponentModel.DataAnnotations.Schema;
- using LeaRun.Application.Code;
- namespace LeaRun.Application.Entity.DemoManage
- {
- /// <summary>
- /// 版 本
- /// Copyright (c) 2013-2016 上海力软信息技术有限公司
- /// 创 建:超级管理员
- /// 日 期:2016-12-06 17:29
- /// 描 述:OfficeRk
- /// </summary>
- public class OfficeRkEntryEntity : BaseEntity
- {
- #region 实体成员
- /// <summary>
- /// 订单明细主键
- /// </summary>
- /// <returns></returns>
- [Column("RKENTRYID")]
- public string RkEntryId { get; set; }
- /// <summary>
- /// 订单主键
- /// </summary>
- /// <returns></returns>
- [Column("ORDERID")]
- public string OrderId { get; set; }
- /// <summary>
- /// 商品Id
- /// </summary>
- /// <returns></returns>
- [Column("PRODUCTID")]
- public string ProductId { get; set; }
- /// <summary>
- /// 商品编号
- /// </summary>
- /// <returns></returns>
- [Column("PRODUCTCODE")]
- public string ProductCode { get; set; }
- /// <summary>
- /// 商品名称
- /// </summary>
- /// <returns></returns>
- [Column("PRODUCTNAME")]
- public string ProductName { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- /// <returns></returns>
- [Column("UNITID")]
- public string UnitId { get; set; }
- /// <summary>
- /// 数量
- /// </summary>
- /// <returns></returns>
- [Column("QTY")]
- public decimal? Qty { get; set; }
- /// <summary>
- /// 单价
- /// </summary>
- /// <returns></returns>
- [Column("PRICE")]
- public decimal? Price { get; set; }
- /// <summary>
- /// 金额
- /// </summary>
- /// <returns></returns>
- [Column("AMOUNT")]
- public decimal? Amount { get; set; }
- /// <summary>
- /// 排序码
- /// </summary>
- /// <returns></returns>
- [Column("SORTCODE")]
- public int? SortCode { get; set; }
- /// <summary>
- /// 删除标记
- /// </summary>
- /// <returns></returns>
- [Column("DELETEMARK")]
- public int? DeleteMark { get; set; }
- /// <summary>
- /// 有效标志
- /// </summary>
- /// <returns></returns>
- [Column("ENABLEDMARK")]
- public int? EnabledMark { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- /// <returns></returns>
- [Column("DESCRIPTION")]
- public string Description { get; set; }
- #endregion
- #region 扩展操作
- /// <summary>
- /// 新增调用
- /// </summary>
- public override void Create()
- {
- this.RkEntryId = Guid.NewGuid().ToString();
- }
- /// <summary>
- /// 编辑调用
- /// </summary>
- /// <param name="keyValue"></param>
- public override void Modify(string keyValue)
- {
- this.RkEntryId = keyValue;
- }
- #endregion
- }
- }
|