26 lines
616 B
C#
26 lines
616 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RoadFlow.Model
|
|
{
|
|
/// <summary>
|
|
/// 基础实体类
|
|
/// </summary>
|
|
[DataContract]
|
|
public abstract partial class BaseEntity
|
|
{
|
|
[DataMember]
|
|
[Column("Id")]
|
|
[Display(Name = "Id")]
|
|
[Key]
|
|
[SqlSugar.SugarColumn(IsNullable =false,IsPrimaryKey =true)]
|
|
public string Id { get; set; }
|
|
}
|
|
}
|