ComplianceServer/oldcode/Core.Model/Entity/Mon_Order_Income.cs

38 lines
1.1 KiB
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace CRM.Core.Model.Entity
{
public class Mon_Order_Income
{
public Mon_Order_Income()
{
}
public Mon_Order_Income(DateTime actDay, string actId, int type, decimal income, decimal depositReceived, int useDay, int orderId, DateTime oTime)
{
ActDay = actDay;
ActId = actId;
Type = type;
Income = income;
DepositReceived = depositReceived;
UseDay = useDay;
CTime = DateTime.Now;
OrderId = orderId;
OTime = oTime;
}
[Key]
public int Id { get; set; }
public DateTime ActDay { get; set; }
public string ActId { get; set; }
public int Type { get; set; }
public decimal Income { get; set; }
public decimal DepositReceived { get; set; }
public int UseDay { get; set; }
public DateTime CTime { get; set; }
public int OrderId { get; set; }
public DateTime OTime { get; set; }
}
}