blob: 18d441e94c3893dce88ae1b9f51cfa98c8fa0d22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.TCC.BL.Entities
{
public class TCCEntityBase
{
[Column("ID")]
[DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
public int ID { get; set; }
[Column("GUID")]
[Key]
public String Guid { get; set; }
public TCCEntityBase()
{
Guid = System.Guid.NewGuid().ToString();
}
}
}
|