forked from Elfocrash/L2dotNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEtcItemContract.cs
More file actions
42 lines (28 loc) · 1008 Bytes
/
Copy pathEtcItemContract.cs
File metadata and controls
42 lines (28 loc) · 1008 Bytes
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
39
40
41
42
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using L2dotNET.DataContracts.Shared.Enums;
using Mapster;
namespace L2dotNET.DataContracts
{
[Table("EtcItems")]
public class EtcItemContract
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
[AdaptMember("ItemId")]
public int EtcItemId { get; set; }
public string Name { get; set; }
public EtcItemTypeId ItemType { get; set; }
public int Weight { get; set; }
public CrystalTypeId CrystalType { get; set; }
public int Duration { get; set; }
public int Price { get; set; }
public int CrystalCount { get; set; }
public bool Crystallizable { get; set; }
public bool Sellable { get; set; }
public bool Dropable { get; set; }
public bool Destroyable { get; set; }
public bool Tradeable { get; set; }
public bool Stackable { get; set; }
}
}