tijian_jichuang/Code/Entities/DTO/PostDateClass.cs

46 lines
943 B
C#
Raw Normal View History

2025-02-20 11:54:48 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace SOH.Entities.DTO
{
[Serializable()]
[DataContract(IsReference = true)]
public class PostDateClass
{
String prop;
public String Prop
{
get { return prop; }
set { prop = value; }
}
String value;
public String Value
{
get { return this.value; }
set { this.value = value; }
}
/// <summary>
/// 0为字符串1为文件
/// </summary>
int type;
public int Type
{
get { return type; }
set { type = value; }
}
public PostDateClass(String prop, String value, int type = 0)
{
this.prop = prop;
this.value = value;
this.type = type;
}
}
}