-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPhoneOrderPushTask.cs
More file actions
38 lines (28 loc) · 1.03 KB
/
PhoneOrderPushTask.cs
File metadata and controls
38 lines (28 loc) · 1.03 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using SmartTalk.Messages.Enums.Sales;
namespace SmartTalk.Core.Domain.Sales;
[Table("phone_order_push_task")]
public class PhoneOrderPushTask : IEntity
{
[Key]
[Column("id")]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
[Column("record_id")]
public int RecordId { get; set; }
[Column("parent_record_id")]
public int? ParentRecordId { get; set; }
[Column("assistant_id")]
public int AssistantId { get; set; }
[Column("business_key"), StringLength(128)]
public string BusinessKey { get; set; }
[Column("task_type")]
public PhoneOrderPushTaskType TaskType { get; set; }
[Column("request_json")]
public string RequestJson { get; set; }
[Column("status")]
public PhoneOrderPushTaskStatus Status { get; set; }
[Column("created_at")]
public DateTimeOffset CreatedAt { get; set; } = DateTimeOffset.Now;
}