SourceCode/RFrameGenerate.Model/Table/T_CR_ProductCrowdPeriods.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RFramework;

namespace RFrameGenerate.Model
{
    public partial class T_CR_ProductCrowdPeriods : EntityBase<T_CR_ProductCrowdPeriods>, ICloneable
    {
        public Guid ProductCrowdPeriodGuid{ get;set; }
        public Guid? ProductCrowdGuid{ get;set; }   
        public Guid? MerchantGuid{ get;set; }   
        public int? CrowdPeriods{ get;set; }   
        public int? TotalTime{ get;set; }   
        public int? RemainTime{ get;set; }   
        public int? BuyTime{ get;set; }   
        public int? Sort{ get;set; }   
        public DateTime? JoinDate{ get;set; }   
        public DateTime? OpenDate{ get;set; }   
        public string Formula{ get;set; }
        public decimal? NumberA{ get;set; }   
        public string PeriodNum{ get;set; }
        public Guid? SMerchantGuid{ get;set; }   
        public int? BuyUnitPrice{ get;set; }   
        
        public override string ToString()
        {
            StringBuilder sb = this.EntityToGetKeyValue();
            if (sb == null)
                return base.ToString();
            else
            {
                return sb.ToString();
            }
        }
        
        #region 创建副本
        /// <summary>
        /// 创建当前 System.Object 的浅表副本
        /// </summary>
        /// <returns>返回当前实例的浅表副本,(如果当前实例中有引用对象,引用对象的地址还是指向原来的地址)</returns>
        public object Clone()
        {
            return this.MemberwiseClone();
        }
        /// <summary>
        /// 创建当前 System.Object 的深表副本
        /// </summary>
        /// <returns>返回当前实例的深表副本,(如果当前实例中有引用对象,引用对象的地址还是指向原来的地址)</returns>
        public T_CR_ProductCrowdPeriods DeepClone()
        {
            using (System.IO.Stream objectStream = new System.IO.MemoryStream())
            {
                System.Runtime.Serialization.IFormatter formatter = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();
                formatter.Serialize(objectStream, this);
                objectStream.Seek(0, System.IO.SeekOrigin.Begin);
                return formatter.Deserialize(objectStream) as T_CR_ProductCrowdPeriods;
            }
        }
后面还有 19 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。