|
@@ -1,5 +1,6 @@
|
|
|
|
|
|
using System.Collections.Generic;
|
|
using System.Collections.Generic;
|
|
|
|
+using System.ComponentModel.DataAnnotations;
|
|
using System.Text;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Text.Json.Serialization;
|
|
using TEAMModelOS.SDK.Context.Attributes.Azure;
|
|
using TEAMModelOS.SDK.Context.Attributes.Azure;
|
|
@@ -19,6 +20,7 @@ namespace TEAMModelOS.Service.Models
|
|
}
|
|
}
|
|
|
|
|
|
public string id { get; set; }
|
|
public string id { get; set; }
|
|
|
|
+ [Required(ErrorMessage = "{0} 必须填写")]
|
|
public string schoolCode { get; set; }
|
|
public string schoolCode { get; set; }
|
|
// [PartitionKey]
|
|
// [PartitionKey]
|
|
//public string areaCode { get; set; }
|
|
//public string areaCode { get; set; }
|